rustc: Make "ne" use traits

This commit is contained in:
Patrick Walton
2012-09-07 12:44:53 -07:00
parent b4d879a2ef
commit c21b3ff818
3 changed files with 4 additions and 3 deletions

View File

@@ -110,7 +110,8 @@ pure fn binop_to_method_name(op: binop) -> Option<~str> {
ge => return Some(~"ge"),
gt => return Some(~"gt"),
eq => return Some(~"eq"),
and | or | ne => return None
ne => return Some(~"ne"),
and | or => return None
}
}