Skip to content

Commit df429be

Browse files
committed
Merge pull request #80 from itdaniher/master
update range to external iterator as per rust-lang/rust#8216
2 parents a685bc3 + 054494d commit df429be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ unsafe fn check_if_not_playing(ll_chunk_addr: *ll::Mix_Chunk) {
6565
channels = 0;
6666
}
6767

68-
for uint::range(0, channels as uint) |ch| {
68+
for ch in range(0, (channels as uint)) {
6969
if ll::Mix_GetChunk(ch as i32) == ll_chunk_addr {
7070
fail!(~"attempt to free a channel that's playing!")
7171
}

0 commit comments

Comments
 (0)