Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Rust-for-Linux/linux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: rust-next
Choose a base ref
...
head repository: GeekGroveCode/linux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rust-next
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 29, 2025

  1. rust: alloc: implement Borrow and BorrowMut for KBox

    Implement `Borrow<T>` and `BorrowMut<T>` for `KBox<T>`. This allows
    `KBox<T>` to be used in generic APIs asking for types implementing those
    traits. `T` and `&mut T` also implement those traits allowing users to
    use either owned, borrowed and heap-owned values.
    
    Reviewed-by: Alice Ryhl <[email protected]>
    Reviewed-by: Benno Lossin <[email protected]>
    Signed-off-by: Alexandre Courbot <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Miguel Ojeda <[email protected]>
    Gnurou authored and ojeda committed Jun 29, 2025
    Configuration menu
    Copy the full SHA
    769e324 View commit details
    Browse the repository at this point in the history
Loading