mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Remove a wrong suggestion.
This commit is contained in:
parent
60e8da1647
commit
4827ab978e
1 changed files with 0 additions and 4 deletions
|
@ -352,10 +352,6 @@ declare_clippy_lint! {
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// foo.unwrap_or_else(|_| panic!("Err {}: {}", err_code, err_msg))
|
/// foo.unwrap_or_else(|_| panic!("Err {}: {}", err_code, err_msg))
|
||||||
/// ```
|
/// ```
|
||||||
/// or
|
|
||||||
/// ```rust
|
|
||||||
/// foo.unwrap_or_else(|_| panic!(format!("Err {}: {}", err_code, err_msg).as_str()))
|
|
||||||
/// ```
|
|
||||||
declare_clippy_lint! {
|
declare_clippy_lint! {
|
||||||
pub EXPECT_FUN_CALL,
|
pub EXPECT_FUN_CALL,
|
||||||
perf,
|
perf,
|
||||||
|
|
Loading…
Reference in a new issue