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: clippy_lints/src/methods/err_expect.rs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ pub(super) fn check(
19
19
){
20
20
if_chain!{
21
21
if is_type_diagnostic_item(cx, cx.typeck_results().expr_ty(recv), sym::Result);
22
-
// Test the version to make sure the lint can be showed (expect_err has been introduced in rust 1.17.0 : https://github.com/rust-lang/rust/pull/38982)
22
+
// Test the version to make sure the lint can be showed (expect_err has been
23
+
// introduced in rust 1.17.0 : https://github.com/rust-lang/rust/pull/38982)
0 commit comments