You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libcore/option.rs
+2-1
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,8 @@ impl<T> Option<T> {
201
201
/// ```
202
202
///
203
203
/// [`None`]: #variant.None
204
-
#[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"]
204
+
#[must_use = "if you intended to assert that this doesn't have a value, consider \
205
+
`.and_then(|| panic!(\"`Option` had a value when expected `None`\"))` instead"]
0 commit comments