Allow clippy::rc_buffer only where it's not easily fixed

This commit is contained in:
Jonas Platte 2020-10-09 14:17:47 +02:00 committed by Jonas Platte
parent ec3c2975a6
commit 63d2ec501c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,6 @@
#![deny(rust_2018_idioms)]
#![allow(clippy::needless_doctest_main, clippy::type_complexity)]
#![allow(clippy::rc_buffer)] // FXIME: We should take a closer look for the warnings at some point.
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]

View File

@ -1,3 +1,5 @@
#![allow(clippy::rc_buffer)] // inner value is mutated before being shared (`Rc::get_mut`)
use std::future::Future;
use std::pin::Pin;
use std::rc::Rc;