about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJay Strict <jay.strict@posteo.de>2018-02-04 16:24:18 +0100
committerJay Strict <jay.strict@posteo.de>2018-02-04 16:24:18 +0100
commitf168700ba6257979dd90b20e0149e1ccf53590f0 (patch)
tree85198bf74e8f635013152fe67abb76ce45bd9ec6
parent3986539df6eb3601cbd4e9c6c195583fca6dc10b (diff)
Remove 'the this' in doc comments.
-rw-r--r--src/librustc/mir/mod.rs2
-rw-r--r--src/libstd/fs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs
index 3b644aa13f3..c0feb8ad020 100644
--- a/src/librustc/mir/mod.rs
+++ b/src/librustc/mir/mod.rs
@@ -1825,7 +1825,7 @@ pub struct Location {
     /// the location is within this block
     pub block: BasicBlock,
 
-    /// the location is the start of the this statement; or, if `statement_index`
+    /// the location is the start of the statement; or, if `statement_index`
     /// == num-statements, then the start of the terminator.
     pub statement_index: usize,
 }
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index d1f3ccbd2c6..9bf90d40256 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -1001,7 +1001,7 @@ impl Metadata {
         self.0.accessed().map(FromInner::from_inner)
     }
 
-    /// Returns the creation time listed in the this metadata.
+    /// Returns the creation time listed in this metadata.
     ///
     /// The returned value corresponds to the `birthtime` field of `stat` on
     /// Unix platforms and the `ftCreationTime` field on Windows platforms.