Update IsZero
documentation
This commit is contained in:
parent
b94a29a25f
commit
50e9f2e6e8
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ use crate::boxed::Box;
|
|||
|
||||
#[rustc_specialization_trait]
|
||||
pub(super) unsafe trait IsZero {
|
||||
/// Whether this value's representation is all zeros
|
||||
/// Whether this value's representation is all zeros,
|
||||
/// or can be represented with all zeroes.
|
||||
fn is_zero(&self) -> bool;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue