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:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user