From 6f46dfa8369c99f4467aa6f944ee86ea4d470fc6 Mon Sep 17 00:00:00 2001 From: Chris Macklin Date: Wed, 29 May 2024 13:12:46 -0700 Subject: [PATCH] Silence clippy::needless_update for fully specified MroUsing. --- martian-derive/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/martian-derive/src/lib.rs b/martian-derive/src/lib.rs index f59f59d91d..06a9450222 100644 --- a/martian-derive/src/lib.rs +++ b/martian-derive/src/lib.rs @@ -105,6 +105,7 @@ pub fn make_mro( }; let using_attributes_fn = quote![ fn using_attributes() -> ::martian::MroUsing { + #[allow(clippy::needless_update)] ::martian::MroUsing { #mem_gb_quote #threads_quote