Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sending a v2 that is merged with [1]. I didn't realize that I was duplicating work, sorry! I'll update the author information to list Kartik as the primary author. I kept my function body so that it returns NonNull to mirror the type used by `ARef::from_raw`. This change was previously included in https://lore.kernel.org/all/[email protected]/ but is being split out in its own commit at Danilo's suggestion. To: Miguel Ojeda <[email protected]> Cc: Alex Gaynor <[email protected]> Cc: Wedson Almeida Filho <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Gary Guo <[email protected]> Cc: Björn Roy Baron <[email protected]> Cc: Benno Lossin <[email protected]> Cc: Andreas Hindborg <[email protected]> Cc: Andreas Hindborg <[email protected]> Cc: [email protected] Cc: [email protected] Link: Rust-for-Linux#1056 [1] Signed-off-by: Alice Ryhl <[email protected]> --- Changes in v2: - Add example from [1], and fix the imports in the example so it compiles. - Update author information to reflect merge with [1]. - Link to v1: https://lore.kernel.org/r/[email protected] --- b4-submit-tracking --- # This section is used internally by b4 prep for tracking purposes. { "series": { "revision": 2, "change-id": "20240801-aref-into-raw-e0518131442f", "prefixes": [], "history": { "v1": [ "[email protected]" ] } } }
- Loading branch information