diff options
| author | Andreas Hindborg <a.hindborg@kernel.org> | 2025-09-24 14:39:25 +0200 |
|---|---|---|
| committer | Daniel Gomez <da.gomez@kernel.org> | 2025-11-03 14:40:45 +0100 |
| commit | 51d9ee90ea9060be240830eb28f5f117ad00318c (patch) | |
| tree | 4df0d25a2b16c2b716dd830d79c1cdac5b9d104e /rust/kernel/task.rs | |
| parent | 821fe7bf16c57d690f4f92997f4e51abb93e0347 (diff) | |
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 <benno.lossin@proton.me>
Tested-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: Daniel Gomez <da.gomez@kernel.org>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions
