summaryrefslogtreecommitdiff
path: root/rust/kernel/net.rs
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2025-09-24 14:39:25 +0200
committerDaniel Gomez <da.gomez@kernel.org>2025-11-03 14:40:45 +0100
commit51d9ee90ea9060be240830eb28f5f117ad00318c (patch)
tree4df0d25a2b16c2b716dd830d79c1cdac5b9d104e /rust/kernel/net.rs
parent821fe7bf16c57d690f4f92997f4e51abb93e0347 (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/net.rs')
0 files changed, 0 insertions, 0 deletions