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

View file

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