Skip to content

Commit

Permalink
uncomment error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Mar 13, 2023
1 parent bfdc29e commit 442fa27
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions actix-files/src/error.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 442fa27

Please sign in to comment.