We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
needless_borrows_for_generic_args
1 parent 423ef0b commit 7e8f264Copy full SHA for 7e8f264
spdlog/src/formatter/pattern_formatter/mod.rs
@@ -1249,13 +1249,15 @@ pub mod tests {
1249
1250
#[test]
1251
fn test_pattern_ref_as_pattern() {
1252
- #[allow(clippy::needless_borrow)]
+ #[allow(unknown_lints)]
1253
+ #[allow(clippy::needless_borrow, clippy::needless_borrows_for_generic_args)]
1254
test_pattern(&String::from("literal"), "literal", None);
1255
}
1256
1257
1258
fn test_pattern_mut_as_pattern() {
1259
1260
1261
test_pattern(&mut String::from("literal"), "literal", None);
1262
1263
0 commit comments