From fc21f33d4db9e2f0317c277851c05954e476d1ac Mon Sep 17 00:00:00 2001 From: OptimisticPeach Date: Thu, 30 May 2019 19:37:23 -0400 Subject: [PATCH] Fixed some typos. --- src/libcore/convert.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index b3ff447be5ee4..a2796ad0cf0b0 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -177,8 +177,8 @@ pub trait AsRef { /// /// Using `AsMut` as trait bound for a generic function we can accept all mutable references /// that can be converted to type `&mut T`. Because [`Box`] implements `AsMut` we can -/// write a function `add_one`that takes all arguments that can be converted to `&mut u64`. -/// Because [`Box`] implements `AsMut` `add_one` accepts arguments of type +/// write a function `add_one` that takes all arguments that can be converted to `&mut u64`. +/// Because [`Box`] implements `AsMut`, `add_one` accepts arguments of type /// `&mut Box` as well: /// /// ```