We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OwningRef
1 parent b823dc1 commit 6248dbcCopy full SHA for 6248dbc
compiler/rustc_data_structures/src/owning_ref/mod.rs
@@ -5,7 +5,7 @@
5
6
This crate provides the _owning reference_ types `OwningRef` and `OwningRefMut`
7
that enables it to bundle a reference together with the owner of the data it points to.
8
-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.
9
10
This can sometimes be useful because Rust borrowing rules normally prevent
11
moving a type that has been moved from. For example, this kind of code gets rejected:
0 commit comments