Skip to content

Commit 556009d

Browse files
committed
remove debug statement from decimal
1 parent 0eceff0 commit 556009d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/validators/decimal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn validate_as_decimal(
3737
) -> PyResult<Option<Py<PyAny>>> {
3838
match schema.get_item(key)? {
3939
Some(value) => match value.validate_decimal(false, py) {
40-
Ok(v) => { return Ok(Some(v.into_inner().unbind()))},
40+
Ok(v) => Ok(Some(v.into_inner().unbind())),
4141
Err(_) => Err(PyValueError::new_err(format!(
4242
"'{key}' must be coercible to a Decimal instance",
4343
))),

src/validators/fraction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use pyo3::{prelude::*, PyTypeInfo};
99
use crate::build_tools::is_strict;
1010
use crate::errors::ErrorTypeDefaults;
1111
use crate::errors::ValResult;
12-
use crate::errors::{ToErrorValue, ValError, Number, ErrorType};
12+
use crate::errors::{ErrorType, Number, ToErrorValue, ValError};
1313
use crate::input::Input;
1414

1515
use super::{BuildValidator, CombinedValidator, DefinitionsBuilder, ValidationState, Validator};

0 commit comments

Comments
 (0)