Skip to content

Commit 1c194c4

Browse files
committed
fix clippy
1 parent 52f022a commit 1c194c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bindings/python/src/codelist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ impl PyCodeList {
458458
match custom_regex {
459459
Some(regex_str) => {
460460
let regex = Regex::new(&regex_str)
461-
.map_err(|e| PyValueError::new_err(format!("Invalid regex: {}", e)))?;
461+
.map_err(|e| PyValueError::new_err(format!("Invalid regex: {e}")))?;
462462
self.inner
463463
.validate_codes(Some(&regex))
464464
.map_err(|e| PyValueError::new_err(e.to_string()))?

0 commit comments

Comments
 (0)