Replace ByteStr with Arc<str> (#971)

This commit is contained in:
David Pedersen
2022-04-26 10:16:38 +02:00
committed by GitHub
parent bc6fefb052
commit 23f20ea1f3
4 changed files with 24 additions and 60 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ where
Some(UrlParams::InvalidUtf8InPathParam { key }) => {
let err = PathDeserializationError {
kind: ErrorKind::InvalidUtf8InPathParam {
key: key.as_str().to_owned(),
key: key.to_string(),
},
};
let err = FailedToDeserializePathParams(err);