parent
a0080f4e07
commit
b9945f83c9
1 changed files with 2 additions and 0 deletions
|
|
@ -55,7 +55,9 @@ impl TotalEq for () {
|
|||
|
||||
#[cfg(not(test))]
|
||||
impl Zero for () {
|
||||
#[inline]
|
||||
fn zero() -> () { () }
|
||||
#[inline]
|
||||
fn is_zero(&self) -> bool { true }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue