about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/ty/inhabitedness/mod.rs2
-rw-r--r--src/librustc/ty/sty.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/inhabitedness/mod.rs b/src/librustc/ty/inhabitedness/mod.rs
index 1cc31b20ba9..c5b75839e99 100644
--- a/src/librustc/ty/inhabitedness/mod.rs
+++ b/src/librustc/ty/inhabitedness/mod.rs
@@ -53,7 +53,7 @@ mod def_id_forest;
 //
 // We need this information for pattern-matching on Foo or types that contain
 // Foo.
-// 
+//
 // # Example
 // ```rust
 // let foo_result: Result<T, Foo> = ... ;
diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs
index 319b11d8031..81b0a55841a 100644
--- a/src/librustc/ty/sty.rs
+++ b/src/librustc/ty/sty.rs
@@ -1007,7 +1007,7 @@ impl<'a, 'gcx, 'tcx> TyS<'tcx> {
     /// In this code, the type `Foo` will only be visibly uninhabited inside the
     /// modules b, c and d. This effects pattern-matching on `Foo` or types that
     /// contain `Foo`.
-    /// 
+    ///
     /// # Example
     /// ```rust
     /// let foo_result: Result<T, Foo> = ... ;