1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: run vfmt over vlib files, so that v doc -m vlib/ can run without warnings

This commit is contained in:
Delyan Angelov
2020-10-21 12:23:03 +03:00
parent 5b1ab3b0bb
commit dab66593fc
27 changed files with 343 additions and 334 deletions

View File

@ -77,7 +77,7 @@ pub fn approximate(val f64) Fraction {
}
// approximate_with_eps returns a Fraction
pub fn approximate_with_eps(val, eps f64) Fraction {
pub fn approximate_with_eps(val f64, eps f64) Fraction {
if val == 0.0 {
return zero
}