aboutsummaryrefslogtreecommitdiff
path: root/common/object/src/tag.rs
diff options
context:
space:
mode:
Diffstat (limited to 'common/object/src/tag.rs')
-rw-r--r--common/object/src/tag.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/object/src/tag.rs b/common/object/src/tag.rs
index c09af27..c937d43 100644
--- a/common/object/src/tag.rs
+++ b/common/object/src/tag.rs
@@ -34,6 +34,7 @@ impl<T: ?Sized> Display for TypedTag<T> {
self.0.fmt(f)
}
}
+#[allow(clippy::non_canonical_clone_impl)]
impl<T: ?Sized> Clone for TypedTag<T> {
fn clone(&self) -> Self {
Self(self.0, PhantomData)