about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-07-05 21:38:35 -0700
committerChris Gregory <czipperz@gmail.com>2019-07-05 21:38:35 -0700
commit9b0623d51f5c9754e63107b50373ff1294c28c61 (patch)
treefee8e077124dfc8a72d9433e6f8ea811f8162bdf /src
parent145385e7c3fbb242e3024ad0368f2cfd95f5666e (diff)
downloadrust-9b0623d51f5c9754e63107b50373ff1294c28c61.tar.gz
rust-9b0623d51f5c9754e63107b50373ff1294c28c61.zip
Wrap line
Diffstat (limited to 'src')
-rw-r--r--src/libcore/option.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 9174ebae171..2c148ec4857 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -201,7 +201,8 @@ impl<T> Option<T> {
     /// ```
     ///
     /// [`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 {