about summary refs log tree commit diff
path: root/src/libcore/cmp.rs
blob: d10b9603af0dd7d6fed1aafc0c380e95a2f645a2 (plain)
1
2
3
4
5
6
7
8
9
10
/// Interfaces used for comparison.

trait ord {
    pure fn lt(&&other: self) -> bool;
}

trait eq {
    pure fn eq(&&other: self) -> bool;
}