]> git.lizzy.rs Git - rust.git/commitdiff
fix line lengths
authorMatthew Kelly <matthew.kelly2@gmail.com>
Fri, 19 Aug 2022 14:53:14 +0000 (10:53 -0400)
committerMatthew Kelly <matthew.kelly2@gmail.com>
Fri, 19 Aug 2022 14:53:14 +0000 (10:53 -0400)
compiler/rustc_error_codes/src/error_codes/E0311.md

index a5975c4f472be31b87cf7637ca7cd6453a9cec66..9477a0b1fb76a7b2128072d98f8d8f4d856f3952 100644 (file)
@@ -1,5 +1,5 @@
-This error occurs when there is insufficient information for the rust compiler to
-prove that some time has a long enough lifetime.
+This error occurs when there is insufficient information for the rust compiler
+to prove that some time has a long enough lifetime.
 
 Erroneous code example:
 
@@ -22,10 +22,11 @@ where
 ```
 
 In this example we have a trait that borrows some inner data element of type `V`
-from an outer type `T`, through an intermediate type `U`. The compiler is unable to
-prove that the livetime of `U` is long enough to support the reference. To fix the
-issue we can explicitly add lifetime specifiers to the `NestedBorrowMut` trait, which
-link the lifetimes of the various data types and allow the code to compile.
+from an outer type `T`, through an intermediate type `U`. The compiler is unable
+to prove that the livetime of `U` is long enough to support the reference. To
+fix the issue we can explicitly add lifetime specifiers to the `NestedBorrowMut`
+trait, which link the lifetimes of the various data types and allow the code to
+compile.
 
 Working implementation of the `NestedBorrowMut` trait: