Fix a typo in test expr-alt-generic-box1.rs

This commit is contained in:
Brian Anderson 2011-04-13 21:46:20 -04:00
parent de50efebc2
commit 330fdd2b04

View file

@ -14,7 +14,7 @@ fn test_generic[T](@T expected, &compare[T] eq) {
fn test_box() {
fn compare_box(@bool b1, @bool b2) -> bool {
ret *b1 == b2;
ret *b1 == *b2;
}
auto eq = bind compare_box(_, _);
test_generic[bool](@true, eq);