1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-22 09:31:10 +00:00

uncomment error variant

This commit is contained in:
Rob Ede 2023-03-13 14:30:21 +00:00
parent bfdc29ebb8
commit 442fa279da
No known key found for this signature in database
GPG key ID: 97C636207D3EF933

View file

@ -35,9 +35,10 @@ pub enum UriSegmentError {
/// Segment ended with the wrapped invalid character.
#[display(fmt = "segment ended with invalid character: ('{_0}')")]
BadEnd(char),
// /// Path is not a valid UTF-8 string after percent-decoding.
// #[display(fmt = "path is not a valid UTF-8 string after percent-decoding")]
// NotValidUtf8,
/// Path is not a valid UTF-8 string after percent-decoding.
#[display(fmt = "path is not a valid UTF-8 string after percent-decoding")]
NotValidUtf8,
}
impl ResponseError for UriSegmentError {