Skip to content

Commit 6248dbc

Browse files
committed
Also fix “a OwningRef
1 parent b823dc1 commit 6248dbc

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_data_structures/src/owning_ref

1 file changed

+1
-1
lines changed

compiler/rustc_data_structures/src/owning_ref/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This crate provides the _owning reference_ types `OwningRef` and `OwningRefMut`
77
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.
8+
This allows moving and dropping of an `OwningRef` without needing to recreate the reference.
99
1010
This can sometimes be useful because Rust borrowing rules normally prevent
1111
moving a type that has been moved from. For example, this kind of code gets rejected:

0 commit comments

Comments
 (0)