Skip to content

Commit 44083f1

Browse files
committed
fix: remove borrow<[u8]> due to clippy warning
1 parent 5d77e0f commit 44083f1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -774,12 +774,6 @@ impl borrow::Borrow<str> for Url {
774774
}
775775
}
776776

777-
impl borrow::Borrow<[u8]> for Url {
778-
fn borrow(&self) -> &[u8] {
779-
self.href().as_bytes()
780-
}
781-
}
782-
783777
impl AsRef<[u8]> for Url {
784778
fn as_ref(&self) -> &[u8] {
785779
self.href().as_bytes()

0 commit comments

Comments
 (0)