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

builtin: rename any_* -> *_literal - 2. part (#8032)

This commit is contained in:
Uwe Krüger
2021-01-11 22:58:15 +01:00
committed by GitHub
parent 77d2e82309
commit 5f95dd54bd
19 changed files with 194 additions and 176 deletions

View File

@@ -20,9 +20,9 @@ pub fn (x f64) str() string {
}
}
// str returns the value of the `any_float` as a `string`.
// str returns the value of the `float_literal` as a `string`.
[inline]
pub fn (d any_float) str() string {
pub fn (d float_literal) str() string {
return f64(d).str()
}