Re: [PATCH v6 5/6] rust: str: add radix prefixed integer parsing functions

2025-02-12 Thread Gary Guo
On Tue, 11 Feb 2025 21:13:10 +0100 Andreas Hindborg wrote: > "Gary Guo" writes: > > > On Tue, 11 Feb 2025 16:57:39 +0100 > > Andreas Hindborg wrote: > > > >> Add the trait `ParseInt` for parsing string representations of integers > >> where the string representations are optionally prefixed

Re: [PATCH v6 5/6] rust: str: add radix prefixed integer parsing functions

2025-02-11 Thread Andreas Hindborg
"Gary Guo" writes: > On Tue, 11 Feb 2025 16:57:39 +0100 > Andreas Hindborg wrote: > >> Add the trait `ParseInt` for parsing string representations of integers >> where the string representations are optionally prefixed by a radix >> specifier. Implement the trait for the primitive integer types.

Re: [PATCH v6 5/6] rust: str: add radix prefixed integer parsing functions

2025-02-11 Thread Gary Guo
On Tue, 11 Feb 2025 16:57:39 +0100 Andreas Hindborg wrote: > Add the trait `ParseInt` for parsing string representations of integers > where the string representations are optionally prefixed by a radix > specifier. Implement the trait for the primitive integer types. > > Signed-off-by: Andreas

[PATCH v6 5/6] rust: str: add radix prefixed integer parsing functions

2025-02-11 Thread Andreas Hindborg
Add the trait `ParseInt` for parsing string representations of integers where the string representations are optionally prefixed by a radix specifier. Implement the trait for the primitive integer types. Signed-off-by: Andreas Hindborg --- rust/kernel/str.rs | 111 +++