Skip to content

Commit 3110ba9

Browse files
EFanZhjplatte
andcommitted
Fix grammar
Co-authored-by: Jonas Platte <[email protected]>
1 parent 7f883b8 commit 3110ba9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/alloc/src/raw_rc.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ use crate::vec::Vec;
8383
/// The return value type for `RcOps::make_mut`.
8484
#[cfg(not(no_global_oom_handling))]
8585
pub(crate) enum MakeMutStrategy {
86-
/// This `RawRc` is the only strong pointer that reference to the value, but there are weak
87-
/// pointers also reference to the value. Before returning, the strong reference count has been
86+
/// This `RawRc` is the only strong pointer that references the value, but there are weak
87+
/// pointers also referencing the value. Before returning, the strong reference count has been
8888
/// set to zero to prevent new strong pointers being created through upgrading from weak
8989
/// pointers.
9090
Move,
91-
/// There is more than one strong pointers reference to the value.
91+
/// There is more than one strong pointer that references the value.
9292
Clone,
9393
}
9494

0 commit comments

Comments
 (0)