Fix spelling of "occurred".
This commit is contained in:
parent
d1adf45389
commit
9b2116d78f
|
@ -164,7 +164,7 @@ pub fn pow<T: Clone + One + Mul<T, Output = T>>(mut base: T, mut exp: usize) ->
|
||||||
acc
|
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.
|
/// Otherwise same as the `pow` function.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue