Skip to content

Commit 764c1b6

Browse files
authored
remove obsolete "Known Problems" in ok_expect (#14458)
It looks like `ok_expect` already [checks](https://github.com/rust-lang/rust-clippy/blob/b27a2bbe26b5d4499ca71091e955e7bc7b8b1a4a/clippy_lints/src/methods/ok_expect.rs#L16) for the presence of the `Debug`. changelog: none
2 parents 3e52867 + e8c06a7 commit 764c1b6

File tree

1 file changed

+0
-3
lines changed
  • clippy_lints/src/methods

1 file changed

+0
-3
lines changed

Diff for: clippy_lints/src/methods/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,6 @@ declare_clippy_lint! {
478478
/// Because you usually call `expect()` on the `Result`
479479
/// directly to get a better error message.
480480
///
481-
/// ### Known problems
482-
/// The error type needs to implement `Debug`
483-
///
484481
/// ### Example
485482
/// ```no_run
486483
/// # let x = Ok::<_, ()>(());

0 commit comments

Comments
 (0)