diff --git a/src/uri/path.rs b/src/uri/path.rs index 058aae07..0fec9f8d 100644 --- a/src/uri/path.rs +++ b/src/uri/path.rs @@ -377,6 +377,12 @@ impl hash::Hash for PathAndQuery { } } +impl From for Bytes { + fn from(value: PathAndQuery) -> Self { + value.data.into() + } +} + // ===== PartialEq / PartialOrd ===== impl PartialEq for PathAndQuery {