Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
UMR1352 committed Dec 23, 2024
1 parent 0e51eaf commit 3e1772a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/did.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ mod resolution {
#[repr(transparent)]
pub struct Path<'a>(Cow<'a, str>);

impl<'a> Default for Path<'a> {
impl Default for Path<'_> {
fn default() -> Self {
Self::new()
}
}

impl<'a> Path<'a> {
impl Path<'_> {
pub const fn new() -> Self {
Self(Cow::Borrowed(""))
}
Expand Down

0 comments on commit 3e1772a

Please sign in to comment.