1
0
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:
Enzo 2021-09-09 09:50:35 +02:00 committed by GitHub
parent e57b068df0
commit 1a2d5f65fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,9 @@ pub fn (x usize) str() string {
return u64(x).str()
}
// pub fn (x size_t) str() string {
// return u64(x).str()
// }
pub fn (x size_t) str() string {
return u64(x).str()
}
pub fn (cptr &char) str() string {
return u64(cptr).hex()