about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-03-21 09:19:49 -0400
committerNiko Matsakis <niko@alum.mit.edu>2017-03-30 07:55:29 -0400
commita60e27e25b88dd7febdb3f878a09bef08c03eb41 (patch)
tree4330fa61d69360aa2d0aa03c9674e5472dabd22a /src
parentf11b7d33bb71a78beb6a4671d53d2e89a2afc0ef (diff)
downloadrust-a60e27e25b88dd7febdb3f878a09bef08c03eb41.tar.gz
rust-a60e27e25b88dd7febdb3f878a09bef08c03eb41.zip
pacify the mercilous tidy
Diffstat (limited to 'src')
-rw-r--r--src/librustc_typeck/check/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs
index 21eaa0c2120..65e7e240cc3 100644
--- a/src/librustc_typeck/check/mod.rs
+++ b/src/librustc_typeck/check/mod.rs
@@ -3605,8 +3605,10 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
 
                   ctxt.may_break = true;
               } else {
-                  // Otherwise, we failed to find the enclosing loop; this can only happen if the
-                  // `break` was not inside a loop at all, which is caught by the loop-checking pass.
+                  // Otherwise, we failed to find the enclosing loop;
+                  // this can only happen if the `break` was not
+                  // inside a loop at all, which is caught by the
+                  // loop-checking pass.
                   assert!(self.tcx.sess.err_count() > 0);
               }