Skip to content

Commit

Permalink
Merge pull request rust-lang#3 from steveklabnik/master
Browse files Browse the repository at this point in the history
fail -> panic
  • Loading branch information
alexcrichton committed Oct 30, 2014
2 parents b66f963 + 3820047 commit f74a1f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl Stream {
ffi::MZ_DATA_ERROR => {
return Err(io::standard_error(io::InvalidInput))
}
n => fail!("unexpected return {}", n),
n => panic!("unexpected return {}", n),
}
}

Expand Down Expand Up @@ -260,7 +260,7 @@ impl Stream {
ffi::MZ_OK => {},
ffi::MZ_STREAM_END => return Ok(()),
ffi::MZ_BUF_ERROR => {}
n => fail!("unexpected return {}", n),
n => panic!("unexpected return {}", n),
}
}

Expand Down

0 comments on commit f74a1f6

Please sign in to comment.