diff options
| author | Chris Gregory <czipperz@gmail.com> | 2019-07-05 21:38:35 -0700 |
|---|---|---|
| committer | Chris Gregory <czipperz@gmail.com> | 2019-07-05 21:38:35 -0700 |
| commit | 9b0623d51f5c9754e63107b50373ff1294c28c61 (patch) | |
| tree | fee8e077124dfc8a72d9433e6f8ea811f8162bdf /src | |
| parent | 145385e7c3fbb242e3024ad0368f2cfd95f5666e (diff) | |
| download | rust-9b0623d51f5c9754e63107b50373ff1294c28c61.tar.gz rust-9b0623d51f5c9754e63107b50373ff1294c28c61.zip | |
Wrap line
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/option.rs | 3 |
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 { |
