Skip to content

Commit ac52194

Browse files
authored
Silence clippy::needless_update for fully specified MroUsing. (#497)
1 parent c725cfd commit ac52194

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

martian-derive/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ pub fn make_mro(
105105
};
106106
let using_attributes_fn = quote![
107107
fn using_attributes() -> ::martian::MroUsing {
108+
#[allow(clippy::needless_update)]
108109
::martian::MroUsing {
109110
#mem_gb_quote
110111
#threads_quote

0 commit comments

Comments
 (0)