diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-12-31 09:17:51 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-03 15:54:23 +0800 |
| commit | c0cd145c1f6c29b2ef1f08b666394eb28bef0de4 (patch) | |
| tree | c504d7ab718e51611108a1c00487bc9ee15cc549 | |
| parent | f9478902267ea4ff57e95f0620f066445078db4b (diff) | |
| download | rust-c0cd145c1f6c29b2ef1f08b666394eb28bef0de4.tar.gz rust-c0cd145c1f6c29b2ef1f08b666394eb28bef0de4.zip | |
Fix make tidy
| -rw-r--r-- | src/librustc/ty/inhabitedness/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc/ty/sty.rs | 2 |
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> = ... ; |
