We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6864f commit dfe608dCopy full SHA for dfe608d
src/libcore/vec.rs
@@ -3304,7 +3304,7 @@ mod tests {
3304
}
3305
3306
#[test]
3307
- fn test_iter_nonempty() {
+ fn test_each_nonempty() {
3308
let mut i = 0;
3309
for each(~[1, 2, 3]) |v| {
3310
i += *v;
@@ -3313,7 +3313,7 @@ mod tests {
3313
3314
3315
3316
- fn test_iteri() {
+ fn test_eachi() {
3317
3318
for eachi(~[1, 2, 3]) |j, v| {
3319
if i == 0 { assert!(*v == 1); }
0 commit comments