For the life of me, I cannot understand what the problem is with:
Compiling playground v0.0.1 (/playground)
error: comparison operators cannot be chained
--> src/main.rs:22:25
|
22 | (left_start >= right_start & left_end <= right_end) | (right_start >= left_start & right_end <= left_end)
| ^^ ^^
I am coming from Ruby/Elixir and the likes. So I am probably missing some fundamental Rust related idiom with comparison operators? Not sure.
Thank you so much in advance!
Petros