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.
2 parents 452817b + dfe608d commit 45ae340Copy full SHA for 45ae340
src/libcore/vec.rs
@@ -3305,7 +3305,7 @@ mod tests {
3305
}
3306
3307
#[test]
3308
- fn test_iter_nonempty() {
+ fn test_each_nonempty() {
3309
let mut i = 0;
3310
for each(~[1, 2, 3]) |v| {
3311
i += *v;
@@ -3314,7 +3314,7 @@ mod tests {
3314
3315
3316
3317
- fn test_iteri() {
+ fn test_eachi() {
3318
3319
for eachi(~[1, 2, 3]) |j, v| {
3320
if i == 0 { assert!(*v == 1); }
0 commit comments