Fix more misspelled comments and strings.

This commit is contained in:
Joseph Crail 2014-06-09 00:00:52 -04:00
parent 0ee6a8e8a5
commit c2c9946372
48 changed files with 64 additions and 64 deletions

View file

@ -61,12 +61,12 @@ fn add_bytes_to_bits<T: Int + CheckedAdd + ToBits>(bits: T, bytes: T) -> T {
let (new_high_bits, new_low_bits) = bytes.to_bits();
if new_high_bits > Zero::zero() {
fail!("numeric overflow occured.")
fail!("numeric overflow occurred.")
}
match bits.checked_add(&new_low_bits) {
Some(x) => return x,
None => fail!("numeric overflow occured.")
None => fail!("numeric overflow occurred.")
}
}