Browse Source

Fix spelling of "occurred".

Josh Stone 9 years ago
parent
commit
9b2116d78f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -164,7 +164,7 @@ pub fn pow<T: Clone + One + Mul<T, Output = T>>(mut base: T, mut exp: usize) ->
     acc
 }
 
-/// Raises a value to the power of exp, returning `None` if an overflow occured.
+/// Raises a value to the power of exp, returning `None` if an overflow occurred.
 ///
 /// Otherwise same as the `pow` function.
 ///