Skip to content

Commit

Permalink
Update tooling/nargo_fmt/src/formatter/use_tree_merge.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite authored Jan 13, 2025
1 parent 7985d04 commit 8f385f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/nargo_fmt/src/formatter/use_tree_merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl Ord for Segment {
// Case-insensitive comparison for plain segments
let ordering = self_string.to_lowercase().cmp(&other_string.to_lowercase());
if ordering == Ordering::Equal {
self_string.cmp(&other_string)
self_string.cmp(other_string)
} else {
ordering
}
Expand Down

0 comments on commit 8f385f0

Please sign in to comment.