mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
parent
a0080f4e07
commit
b9945f83c9
@ -55,7 +55,9 @@ impl TotalEq for () {
|
||||
|
||||
#[cfg(not(test))]
|
||||
impl Zero for () {
|
||||
#[inline]
|
||||
fn zero() -> () { () }
|
||||
#[inline]
|
||||
fn is_zero(&self) -> bool { true }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user