Skip to content

Commit 304b17a

Browse files
committed
ci: Silence clippy::extra_unused_type_parameters in affected crates
Triggers false positives. See discussion in rust-lang/rust-clippy#10319. Possibly fixed in rust-lang/rust-clippy#10321. Signed-off-by: Kévin Commaille <[email protected]>
1 parent 6f4bfde commit 304b17a

File tree

3 files changed

+11
-1
lines changed
  • bindings

3 files changed

+11
-1
lines changed

bindings/matrix-sdk-crypto-ffi/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
66
#![warn(missing_docs)]
77
#![allow(unused_qualifications)]
8+
// Triggers false positives.
9+
// See <https://github.com/rust-lang/rust-clippy/issues/10319>.
10+
#![allow(clippy::extra_unused_type_parameters)]
811

912
mod backup_recovery_key;
1013
mod device;

bindings/matrix-sdk-crypto-js/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
#![doc = include_str!("../README.md")]
1616
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1717
#![warn(missing_docs, missing_debug_implementations)]
18-
#![allow(clippy::drop_non_drop)] // triggered by wasm_bindgen code
18+
// triggered by wasm_bindgen code
19+
#![allow(clippy::drop_non_drop)]
20+
// Triggers false positives.
21+
// See <https://github.com/rust-lang/rust-clippy/issues/10319>.
22+
#![allow(clippy::extra_unused_type_parameters)]
1923

2024
pub mod attachment;
2125
pub mod device;

bindings/matrix-sdk-ffi/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// TODO: target-os conditional would be good.
22

33
#![allow(unused_qualifications)]
4+
// Triggers false positives.
5+
// See <https://github.com/rust-lang/rust-clippy/issues/10319>.
6+
#![allow(clippy::extra_unused_type_parameters)]
47

58
macro_rules! unwrap_or_clone_arc_into_variant {
69
(

0 commit comments

Comments
 (0)