mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Update IsZero
documentation
This commit is contained in:
parent
b94a29a25f
commit
50e9f2e6e8
@ -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…
Reference in New Issue
Block a user