Skip to content

Commit

Permalink
Merge pull request #3428 from yeazelm/clippy_systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
yeazelm authored Sep 7, 2023
2 parents a5200a1 + 55687b2 commit 698eba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/api/netdog/src/networkd/config/netdev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ enum NetDevMacAddress {
impl Display for NetDevMacAddress {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
NetDevMacAddress::MacAddress(m) => write!(f, "{}", m.to_string()),
NetDevMacAddress::MacAddress(m) => write!(f, "{}", m),
NetDevMacAddress::Nothing => write!(f, "none"),
}
}
Expand Down

0 comments on commit 698eba4

Please sign in to comment.