1
Fork 0

Fix typo “a Rc” → “an Rc”

This commit is contained in:
Frank Steffahn 2021-08-22 12:33:27 +02:00
parent a49e38e672
commit 04fa1d81dd
4 changed files with 4 additions and 4 deletions

View file

@ -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.