Implement pcwalton's code review suggestions.
This commit is contained in:
parent
5cd10d2fef
commit
1377e9b341
4 changed files with 9 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue