diff options
| author | Patrick Walton <[email protected]> | 2010-11-03 17:10:37 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-11-05 11:18:40 -0700 |
| commit | adb1754e4dcbf61abb93ac7604aed4e8bca080a8 (patch) | |
| tree | 037acbf63e189a999291e04a9a9db4e777e9c003 /src/test/run-pass/lib-vec.rs | |
| parent | rustboot: Report cyclic import errors at the right location (diff) | |
| download | rust-adb1754e4dcbf61abb93ac7604aed4e8bca080a8.tar.xz rust-adb1754e4dcbf61abb93ac7604aed4e8bca080a8.zip | |
Move the option type to its own module
Diffstat (limited to 'src/test/run-pass/lib-vec.rs')
| -rw-r--r-- | src/test/run-pass/lib-vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/lib-vec.rs b/src/test/run-pass/lib-vec.rs index 0f32fbc7..6f19715d 100644 --- a/src/test/run-pass/lib-vec.rs +++ b/src/test/run-pass/lib-vec.rs @@ -32,7 +32,7 @@ fn test_slice() { fn test_map() { fn square(&int x) -> int { ret x * x; } - let std.util.operator[int, int] op = square; + let std.option.operator[int, int] op = square; let vec[int] v = vec(1, 2, 3, 4, 5); let vec[int] s = std._vec.map[int, int](op, v); let int i = 0; |