edited documentation
This commit is contained in:
parent
ceab1a9167
commit
8462cce960
@ -9,7 +9,7 @@
|
||||
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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user