Skip to content

Commit 0fa35d4

Browse files
committed
add #[non_exhaustive] to NetworkFilterError
1 parent 18280fa commit 0fa35d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/filters/network.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub(crate) const TOKENS_BUFFER_SIZE: usize = 200;
2222
/// For now, only support `$removeparam` with simple alphanumeric/dash/underscore patterns.
2323
static VALID_PARAM: Lazy<Regex> = Lazy::new(|| Regex::new(r"^[a-zA-Z0-9_\-]+$").unwrap());
2424

25+
#[non_exhaustive]
2526
#[derive(Debug, Error, PartialEq, Clone)]
2627
pub enum NetworkFilterError {
2728
#[error("failed to parse filter")]

0 commit comments

Comments
 (0)