Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
zm: Workaround a clippy false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
zeenix committed Apr 29, 2023
1 parent 8d37b16 commit 8d0a4d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zbus_macros/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ fn gen_reply_for_variant(
.unwrap_or_else(|| ::std::string::ToString::to_string(#error_field))
}]
} else {
// FIXME: Workaround for https://github.com/rust-lang/rust-clippy/issues/10577
#[allow(clippy::redundant_clone)]
in_fields.clone()
};

Expand Down

0 comments on commit 8d0a4d1

Please sign in to comment.