builtin: add `size_t.str()` again (#11446)

pull/11430/head
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
1 changed files with 3 additions and 3 deletions

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()