about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 12:33:27 +0200
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-24 02:23:16 +0200
commit04fa1d81dd435fc5eaf22ed72efdfd699e1d6c97 (patch)
tree23bb0542808ee66c720b10a13e87aced28c801d7 /library/alloc/src
parenta49e38e672c60da788360e088f00ad12353e3913 (diff)
downloadrust-04fa1d81dd435fc5eaf22ed72efdfd699e1d6c97.tar.gz
rust-04fa1d81dd435fc5eaf22ed72efdfd699e1d6c97.zip
Fix typo “a Rc” → “an Rc”
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index 0b3079fa59d..c19c61b65cd 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -1743,7 +1743,7 @@ impl<T: ?Sized> fmt::Pointer for Rc<T> {
 #[cfg(not(no_global_oom_handling))]
 #[stable(feature = "from_for_ptrs", since = "1.6.0")]
 impl<T> From<T> for Rc<T> {
-    /// Converts a generic type `T` into a `Rc<T>`
+    /// Converts a generic type `T` into an `Rc<T>`
     ///
     /// The conversion allocates on the heap and moves `t`
     /// from the stack into it.