]> git.lizzy.rs Git - rust.git/commitdiff
Wrap line
authorChris Gregory <czipperz@gmail.com>
Sat, 6 Jul 2019 04:38:35 +0000 (21:38 -0700)
committerChris Gregory <czipperz@gmail.com>
Sat, 6 Jul 2019 04:38:35 +0000 (21:38 -0700)
src/libcore/option.rs

index 9174ebae171da5deb444202cdc75b7f7d009b1c4..2c148ec485767c53bf254d3ac971da618df9cf8b 100644 (file)
@@ -201,7 +201,8 @@ pub fn is_some(&self) -> bool {
     /// ```
     ///
     /// [`None`]: #variant.None
-    #[must_use = "if you intended to assert that this doesn't have a value, consider `.and_then(|| panic!(\"`Option` had a value when expected `None`\"))` instead"]
+    #[must_use = "if you intended to assert that this doesn't have a value, consider \
+                  `.and_then(|| panic!(\"`Option` had a value when expected `None`\"))` instead"]
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn is_none(&self) -> bool {