Implement pcwalton's code review suggestions.

This commit is contained in:
Paul Stansifer 2011-06-02 15:12:17 -07:00
parent 5cd10d2fef
commit 1377e9b341
4 changed files with 9 additions and 14 deletions

View file

@ -504,7 +504,7 @@ fn is_constraint_arg(@expr e) -> bool {
}
fn eq_ty(&@ty a, &@ty b) -> bool {
ret a == b;
ret std::box::ptr_eq(a,b);
}
fn hash_ty(&@ty t) -> uint {