Skip to content

Commit

Permalink
Fix Rust 1.83 clippy errors
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
  • Loading branch information
bgurney-rh committed Dec 2, 2024
1 parent 8f0a43f commit f8f4aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub enum DevId<'a> {
Uuid(&'a DmUuid),
}

impl<'a> fmt::Display for DevId<'a> {
impl fmt::Display for DevId<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {
DevId::Name(name) => write!(f, "{name}"),
Expand Down

0 comments on commit f8f4aef

Please sign in to comment.