From c0cd145c1f6c29b2ef1f08b666394eb28bef0de4 Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Sat, 31 Dec 2016 09:17:51 +0800 Subject: [PATCH] Fix make tidy --- src/librustc/ty/inhabitedness/mod.rs | 2 +- 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 1cc31b20ba95..c5b75839e99b 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 = ... ; diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs index 319b11d8031e..81b0a55841ad 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 = ... ;