about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2019-12-29 11:17:20 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2019-12-31 10:21:32 +0100
commit1b92e7e44640e69a48c92d31cee19f982d4e6140 (patch)
tree5b3832da32a8a5185176413beb82f3064e720ab0
parent28eefb37974df9a70fdfd1853f541cb950c8068e (diff)
downloadrust-1b92e7e44640e69a48c92d31cee19f982d4e6140.tar.gz
rust-1b92e7e44640e69a48c92d31cee19f982d4e6140.zip
Inert doc comments.
-rw-r--r--src/librustc_resolve/lifetimes.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_resolve/lifetimes.rs b/src/librustc_resolve/lifetimes.rs
index 3bcd104246d..5e099dba897 100644
--- a/src/librustc_resolve/lifetimes.rs
+++ b/src/librustc_resolve/lifetimes.rs
@@ -203,7 +203,9 @@ enum Scope<'a> {
         /// Whether or not this binder would serve as the parent
         /// binder for opaque types introduced within. For example:
         ///
+        /// ```text
         ///     fn foo<'a>() -> impl for<'b> Trait<Item = impl Trait2<'a>>
+        /// ```
         ///
         /// Here, the opaque types we create for the `impl Trait`
         /// and `impl Trait2` references will both have the `foo` item