Update IsZero documentation

This commit is contained in:
clubby789 2023-01-18 15:48:53 +00:00
parent b94a29a25f
commit 50e9f2e6e8

View file

@ -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;
}