Skip to content

Commit

Permalink
fix: allow ToString impl (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf authored Feb 11, 2024
1 parent 71211ea commit 75ba0e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ impl AddrSpec {
}

#[cfg(feature = "nightly")]
#[allow(clippy::to_string_trait_impl)]
impl ToString for AddrSpec {
fn to_string(&self) -> String {
// Note literals will be optimized away by the compiler if the feature
Expand Down

0 comments on commit 75ba0e7

Please sign in to comment.