about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-05 01:20:56 +0800
committerkennytm <kennytm@gmail.com>2018-02-05 01:20:56 +0800
commit66d6c855bda49035cdf825625dbe423a2e1a2a6b (patch)
tree682fdec7ca3f3d0ff50c44957220fedb6e11ede9
parentadb5849b7903767c488fe49866da1ba110ce21ef (diff)
parentf168700ba6257979dd90b20e0149e1ccf53590f0 (diff)
Rollup merge of #47999 - jaystrictor:master, r=Mark-Simulacrum
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 594c9d0ff5a..5cea389531f 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -1023,7 +1023,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.