Merge pull request #585 from quake/quake/clippy

chore: remove clippy redundant_allocation since it has been resolved in clippy#7592
This commit is contained in:
Stephen Chung 2022-07-20 18:06:46 +08:00 committed by GitHub
commit adf374deed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,6 @@ pub enum Union {
TimeStamp(Box<Instant>, Tag, AccessMode), TimeStamp(Box<Instant>, Tag, AccessMode),
/// Any type as a trait object. /// Any type as a trait object.
#[allow(clippy::redundant_allocation)]
Variant(Box<Box<dyn Variant>>, Tag, AccessMode), Variant(Box<Box<dyn Variant>>, Tag, AccessMode),
/// A _shared_ value of any type. /// A _shared_ value of any type.