Skip to content

Commit 8cdac42

Browse files
committed
much simpler version
1 parent 94857c7 commit 8cdac42

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/validators/sets.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::recursion_guard::RecursionGuard;
1010
use super::any::AnyValidator;
1111
use super::{build_validator, BuildValidator, CombinedValidator, Definitions, DefinitionsBuilder, Extra, Validator};
1212

13-
use crate::errors::{ValError};
13+
use crate::errors::ValError;
1414

1515
const MAX_LENGTH_GEN_MULTIPLE: usize = 10;
1616

@@ -24,7 +24,6 @@ struct IntoSetValidator {
2424
name: String,
2525
}
2626

27-
2827
#[derive(Debug, Clone, Copy)]
2928
enum SetType {
3029
FrozenSet,

src/validators/tuple.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ impl Validator for TupleVariableValidator {
178178
}
179179
}
180180

181-
182181
#[derive(Debug, Clone)]
183182
pub struct TuplePositionalValidator {
184183
strict: bool,

0 commit comments

Comments
 (0)