Remove allow(clippy::lint) attributes that are no longer necessary
This commit is contained in:
parent
1dc72de70e
commit
729fb51d77
@ -8,8 +8,6 @@
|
|||||||
//!
|
//!
|
||||||
//! [ruma-api]: https://github.com/ruma/ruma/tree/main/ruma-api
|
//! [ruma-api]: https://github.com/ruma/ruma/tree/main/ruma-api
|
||||||
|
|
||||||
// Remove this once https://github.com/rust-lang/rust/issues/54883 becomes stable
|
|
||||||
#![allow(clippy::unnested_or_patterns)]
|
|
||||||
#![recursion_limit = "256"]
|
#![recursion_limit = "256"]
|
||||||
|
|
||||||
use proc_macro::TokenStream;
|
use proc_macro::TokenStream;
|
||||||
|
@ -215,7 +215,6 @@ mod tests {
|
|||||||
|
|
||||||
use super::EventType;
|
use super::EventType;
|
||||||
|
|
||||||
#[allow(clippy::cognitive_complexity)]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn serialize_and_deserialize_from_display_form() {
|
fn serialize_and_deserialize_from_display_form() {
|
||||||
serde_json_eq(EventType::CallAnswer, json!("m.call.answer"));
|
serde_json_eq(EventType::CallAnswer, json!("m.call.answer"));
|
||||||
|
@ -114,10 +114,6 @@
|
|||||||
#![recursion_limit = "1024"]
|
#![recursion_limit = "1024"]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||||
// This lint is no good
|
|
||||||
#![allow(clippy::new_without_default)]
|
|
||||||
// Remove this once our MSRV is >= 1.53
|
|
||||||
#![allow(clippy::unnested_or_patterns)]
|
|
||||||
|
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user