mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: add size_t.str() again (#11446)
This commit is contained in:
@@ -24,9 +24,9 @@ pub fn (x usize) str() string {
|
|||||||
return u64(x).str()
|
return u64(x).str()
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub fn (x size_t) str() string {
|
pub fn (x size_t) str() string {
|
||||||
// return u64(x).str()
|
return u64(x).str()
|
||||||
// }
|
}
|
||||||
|
|
||||||
pub fn (cptr &char) str() string {
|
pub fn (cptr &char) str() string {
|
||||||
return u64(cptr).hex()
|
return u64(cptr).hex()
|
||||||
|
|||||||
Reference in New Issue
Block a user