We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f022a commit 1c194c4Copy full SHA for 1c194c4
1 file changed
bindings/python/src/codelist.rs
@@ -458,7 +458,7 @@ impl PyCodeList {
458
match custom_regex {
459
Some(regex_str) => {
460
let regex = Regex::new(®ex_str)
461
- .map_err(|e| PyValueError::new_err(format!("Invalid regex: {}", e)))?;
+ .map_err(|e| PyValueError::new_err(format!("Invalid regex: {e}")))?;
462
self.inner
463
.validate_codes(Some(®ex))
464
.map_err(|e| PyValueError::new_err(e.to_string()))?
0 commit comments