(Added Rust solution) |
m (Minor edit to Rust code) |
||
Line 288: | Line 288: | ||
if d1 < d2 { |
if d1 < d2 { |
||
Ordering::Less |
Ordering::Less |
||
⚫ | |||
⚫ | |||
} else { |
} else { |
||
Ordering::Equal |
|||
⚫ | |||
⚫ | |||
Ordering::Equal |
|||
} |
|||
} |
} |
||
}; |
}; |