Skip to content

Commit 96a15cf

Browse files
committed
style: Fix clippy
1 parent 1614b22 commit 96a15cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • activity/fly-http/impl/src

activity/fly-http/impl/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl<T> SafeUrlPart<T> {
3333
if s.chars().all(|c| c.is_ascii_alphanumeric() || c == '-') {
3434
Ok(SafeUrlPart {
3535
value: s,
36-
_phantom_data: PhantomData::default(),
36+
_phantom_data: PhantomData,
3737
})
3838
} else {
3939
bail!("illegal slug")

0 commit comments

Comments
 (0)