hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f297519576ce33f2f78b98e559fc1f69d7a661c1
parent f628b86924f8c5c483afc68d496967e8c744f0b9
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 30 Jan 2021 16:25:07 -0500

strconv: remove refs to buffer versions from docs

We might add these at some point but I see no reason to do so sooner
rather than later.

Diffstat:
Mstrconv/itos.ha | 10+++++-----
Mstrconv/utos.ha | 12++++++------
2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/strconv/itos.ha b/strconv/itos.ha @@ -3,7 +3,7 @@ use types; // Converts an i64 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::i64tos(1234); // io::printf("%s", a); // 1234 @@ -47,7 +47,7 @@ export fn i64tos(i: i64) const str = { // Converts an i8 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::i8tos(123); // io::printf("%s", a); // 123 @@ -59,7 +59,7 @@ export fn i8tos(i: i8) const str = i64tos(i: i64); // Converts an i16 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::i16tos(1234); // io::printf("%s", a); // 1234 @@ -71,7 +71,7 @@ export fn i16tos(i: i16) const str = i64tos(i: i64); // Converts an i32 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::i32tos(1234); // io::printf("%s", a); // 1234 @@ -83,7 +83,7 @@ export fn i32tos(i: i32) const str = i64tos(i: i64); // Converts an int to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::itos(1234); // io::printf("%s", a); // 1234 diff --git a/strconv/utos.ha b/strconv/utos.ha @@ -3,7 +3,7 @@ use types; // Converts a u64 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::u64tos(1234u); // io::printf("%s", a); // 1234 @@ -40,7 +40,7 @@ export fn u64tos(u: u64) const str = { // Converts a u8 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::u64tos(123u); // io::printf("%s", a); // 123 @@ -52,7 +52,7 @@ export fn u8tos(u: u8) const str = u64tos(u: u64); // Converts a u16 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::u16tos(1234u); // io::printf("%s", a); // 1234 @@ -64,7 +64,7 @@ export fn u16tos(u: u16) const str = u64tos(u: u64); // Converts a u32 to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::u32tos(1234u); // io::printf("%s", a); // 1234 @@ -76,7 +76,7 @@ export fn u32tos(u: u32) const str = u64tos(u: u64); // Converts a uint to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::utos(1234u); // io::printf("%s", a); // 1234 @@ -100,7 +100,7 @@ export fn ztos(z: size) const str = u64tos(z: u64); // Converts a uintptr to a string, in base 10. The return value is statically // allocated and will be overwritten on subsequent calls; see [strings::dup] to -// duplicate the result, or [strconv::itosb] to pass your own string buffer. +// duplicate the result. // // let a = strconv::uptrtos(1234u); // io::printf("%s", a); // 1234