Also fix “a OwningRef
”
This commit is contained in:
parent
b823dc1bbd
commit
6248dbcf70
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
This crate provides the _owning reference_ types `OwningRef` and `OwningRefMut`
|
||||
that enables it to bundle a reference together with the owner of the data it points to.
|
||||
This allows moving and dropping of a `OwningRef` without needing to recreate the reference.
|
||||
This allows moving and dropping of an `OwningRef` without needing to recreate the reference.
|
||||
|
||||
This can sometimes be useful because Rust borrowing rules normally prevent
|
||||
moving a type that has been moved from. For example, this kind of code gets rejected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue