]> git.lizzy.rs Git - rust.git/commitdiff
doc comment typo fix
authorking6cong <king6cong@gmail.com>
Thu, 26 Jan 2017 18:05:33 +0000 (02:05 +0800)
committerking6cong <king6cong@gmail.com>
Thu, 26 Jan 2017 18:05:33 +0000 (02:05 +0800)
src/librustc/ty/mod.rs

index 697ab6ee491d43960632a0beb14824557ed43e92..d8d2b08de0bb6592b362ef444c9282baa07d47b9 100644 (file)
@@ -514,7 +514,7 @@ pub enum BorrowKind {
 
     /// Data must be immutable but not aliasable.  This kind of borrow
     /// cannot currently be expressed by the user and is used only in
-    /// implicit closure bindings. It is needed when you the closure
+    /// implicit closure bindings. It is needed when the closure
     /// is borrowing or mutating a mutable referent, e.g.:
     ///
     ///    let x: &mut isize = ...;