Remove allow(clippy::lint) attributes that are no longer necessary

This commit is contained in:
Jonas Platte 2021-05-06 14:18:40 +02:00
parent 1dc72de70e
commit 729fb51d77
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
3 changed files with 0 additions and 7 deletions

View File

@ -8,8 +8,6 @@
//!
//! [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"]
use proc_macro::TokenStream;

View File

@ -215,7 +215,6 @@ mod tests {
use super::EventType;
#[allow(clippy::cognitive_complexity)]
#[test]
fn serialize_and_deserialize_from_display_form() {
serde_json_eq(EventType::CallAnswer, json!("m.call.answer"));

View File

@ -114,10 +114,6 @@
#![recursion_limit = "1024"]
#![warn(missing_docs)]
#![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;