Skip to content

Commit

Permalink
edited documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali Schneider committed Aug 27, 2020
1 parent ceab1a9 commit 8462cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/panic_in_result.rs
Expand Up @@ -9,7 +9,7 @@ use rustc_span::Span;
declare_clippy_lint! {
/// **What it does:** Checks for usage of `panic!`, `unimplemented!` or `unreachable!` in a function of type result/option.
///
/// **Why is this bad?** For some codebases,
/// **Why is this bad?** For some codebases, it is desirable for functions of type option/result to return an error instead of crashing. Hence unimplemented, panic and unreachable should be avoided.
///
/// **Known problems:** None.
///
Expand Down

0 comments on commit 8462cce

Please sign in to comment.