Fix spelling typos in lib.rs.
This commit is contained in:
parent
e0fc89ffc6
commit
8c4b3f5bd7
|
@ -288,7 +288,7 @@ pub fn zero<T: Zero>() -> T {
|
||||||
Zero::zero()
|
Zero::zero()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Tests is a value is iqual to zero.
|
/// Tests if a value is equal to zero.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_zero<T: Zero>(val: &T) -> bool {
|
pub fn is_zero<T: Zero>(val: &T) -> bool {
|
||||||
val.is_zero()
|
val.is_zero()
|
||||||
|
|
Loading…
Reference in New Issue