diff options
| author | Andreas Hindborg <a.hindborg@kernel.org> | 2026-06-05 16:16:48 +0300 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-06-09 05:13:21 +0300 |
| commit | 759da9e0fa79223138ec8c18b9075cd7dace6070 (patch) | |
| tree | 770aeb7ce33625d80e9ef426b4835dd8f2b958dd /include | |
| parent | 0bf626dc90ff49439584b2693c9a0e717cf0c38a (diff) | |
| download | linux-759da9e0fa79223138ec8c18b9075cd7dace6070.tar.xz | |
rust: sync: add `UniqueArc::as_ptr`
Add an associated function to `UniqueArc` for getting a raw pointer. The
implementation defers to the `Arc` implementation.
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260605-unique-arc-as-ptr-v2-1-425476d2abdb@kernel.org
[ Relaxed bound moving it to new `T: ?Sized` impl block. Reworded since
it is not a method anymore. Added intra-doc link. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
