Re: [PATCH v5 4/5] rust: str: add radix prefixed integer parsing functions

2025-02-10 Thread Andreas Hindborg
"Andreas Hindborg" writes: > 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 > --- There is a bug i

[PATCH v5 4/5] rust: str: add radix prefixed integer parsing functions

2025-02-04 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 | 109 +++