Skip to content

Commit a8ffe29

Browse files
committed
fix linting error on rust
1 parent c0e6b68 commit a8ffe29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input/input_python.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn check_if_ordered_dict(obj: &Bound<'_, PyAny>) -> bool {
6868
}
6969

7070
if let Ok(type_name) = obj.get_type().name() {
71-
if type_name.to_string() != "OrderedDict" {
71+
if type_name != "OrderedDict" {
7272
return false;
7373
}
7474
}

0 commit comments

Comments
 (0)