Remove a wrong suggestion.

This commit is contained in:
Boyu Yang 2018-09-13 13:01:23 +08:00
parent 60e8da1647
commit 4827ab978e
No known key found for this signature in database
GPG Key ID: 8541EBA40EF41840
1 changed files with 0 additions and 4 deletions

View File

@ -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,