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