1 Commits
Author SHA1 Message Date
Andreas Hindborg 51d9ee90ea rust: str: add radix prefixed integer parsing functions
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.

Suggested-by: Benno Lossin <[email protected]>
Tested-by: Daniel Gomez <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Signed-off-by: Andreas Hindborg <[email protected]>
Signed-off-by: Daniel Gomez <[email protected]>
2025-11-03 14:40:45 +01:00