about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 12:41:53 +0200
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-24 02:28:38 +0200
commit6248dbcf70fbae9cf6fda9e2b2ba55aeb5837b36 (patch)
treecb6ab6faa1dcaef8261d33c3f02ea2df690ac8bb /compiler/rustc_data_structures/src
parentb823dc1bbd57c6525b2cc2420c87795a7264edb4 (diff)
downloadrust-6248dbcf70fbae9cf6fda9e2b2ba55aeb5837b36.tar.gz
rust-6248dbcf70fbae9cf6fda9e2b2ba55aeb5837b36.zip
Also fix “a `OwningRef`”
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/owning_ref/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/owning_ref/mod.rs b/compiler/rustc_data_structures/src/owning_ref/mod.rs
index 4689a027895..e7397bf13ba 100644
--- a/compiler/rustc_data_structures/src/owning_ref/mod.rs
+++ b/compiler/rustc_data_structures/src/owning_ref/mod.rs
@@ -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: