mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 13:18:54 +01:00
Remove comments complaining about https://github.com/graydon/rust/issues/633 since it is fixed
This commit is contained in:
parent
e91f8b5db2
commit
3671cddcba
@ -21,15 +21,9 @@ fn builtin_equal[T](&T a, &T b) -> bool {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
// These pass
|
||||
assert builtin_equal(5, 5);
|
||||
assert !builtin_equal(5, 4);
|
||||
|
||||
// This passes
|
||||
assert !ivec_equal(~[5, 5], ~[5], builtin_equal);
|
||||
|
||||
// These crash
|
||||
// https://github.com/graydon/rust/issues/633
|
||||
assert !ivec_equal(~[5, 5], ~[5, 4], builtin_equal);
|
||||
assert !ivec_equal(~[5, 5], ~[4, 5], builtin_equal);
|
||||
assert ivec_equal(~[5, 5], ~[5, 5], builtin_equal);
|
||||
|
Loading…
Reference in New Issue
Block a user