diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-06-09 00:00:52 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-06-10 11:24:17 -0400 |
| commit | c2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch) | |
| tree | b6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/librustc/util | |
| parent | 0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff) | |
| download | rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip | |
Fix more misspelled comments and strings.
Diffstat (limited to 'src/librustc/util')
| -rw-r--r-- | src/librustc/util/sha2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/util/sha2.rs b/src/librustc/util/sha2.rs index f0d69182325..47d9e66fbd5 100644 --- a/src/librustc/util/sha2.rs +++ b/src/librustc/util/sha2.rs @@ -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.") } } |
