mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Remove a wrong suggestion.
This commit is contained in:
parent
60e8da1647
commit
4827ab978e
@ -352,10 +352,6 @@ declare_clippy_lint! {
|
||||
/// ```rust
|
||||
/// 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! {
|
||||
pub EXPECT_FUN_CALL,
|
||||
perf,
|
||||
|
Loading…
Reference in New Issue
Block a user