On Wed Apr 1, 2026 at 12:45 PM BST, Miguel Ojeda wrote: > `feature(split_at_checked)` [1] has been stabilized in Rust 1.80.0 [2], > which is beyond our new minimum Rust version (Rust 1.85.0). > > Thus simplify the code using `split_at_*checked()`. > > Link: https://github.com/rust-lang/rust/issues/119128 [1] > Link: https://github.com/rust-lang/rust/pull/124678 [2] > Signed-off-by: Miguel Ojeda <[email protected]>
Reviewed-by: Gary Guo <[email protected]> > --- > rust/kernel/transmute.rs | 33 ++++++--------------------------- > 1 file changed, 6 insertions(+), 27 deletions(-)
