Skip to content

Commit

Permalink
Rust executor: check is_le instead of is_lt (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored Jan 4, 2024
1 parent 9682491 commit 5b8616e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executors/rust/1.3/src/collator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn run_collation_test(json_obj: &Value) -> Result<Value, String> {

let comparison = collator.compare(str1, str2);

let result = comparison == Ordering::Less;
let result = comparison.is_le();

// TODO: How to do this easier?
let mut result_string = true;
Expand Down

0 comments on commit 5b8616e

Please sign in to comment.