]> git.lizzy.rs Git - rust.git/commitdiff
Fix indentation in region infer docs
authorbjorn3 <bjorn3@users.noreply.github.com>
Tue, 28 Feb 2017 09:59:36 +0000 (10:59 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2017 09:59:36 +0000 (10:59 +0100)
src/librustc/infer/region_inference/README.md

index 80da861139b42fd9acc50f686746219a5f091c4a..4f24b37682eb526412125df279fd85514b48fe71 100644 (file)
@@ -122,14 +122,14 @@ every expression, block, and pattern (patterns are considered to
 relevant bindings).  So, for example:
 
     fn foo(x: isize, y: isize) { // -+
-    //  +------------+       //  |
-    //  |      +-----+       //  |
-    //  |  +-+ +-+ +-+       //  |
-    //  |  | | | | | |       //  |
-    //  v  v v v v v v       //  |
-        let z = x + y;       //  |
-        ...                  //  |
-    }                        // -+
+    //  +------------+           //  |
+    //  |      +-----+           //  |
+    //  |  +-+ +-+ +-+           //  |
+    //  |  | | | | | |           //  |
+    //  v  v v v v v v           //  |
+        let z = x + y;           //  |
+        ...                      //  |
+    }                            // -+
 
     fn bar() { ... }