Skip to content

Commit 2f23b6a

Browse files
committed
Update IsZero documentation
1 parent b3ad54b commit 2f23b6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

alloc/src/vec/is_zero.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ use crate::boxed::Box;
44

55
#[rustc_specialization_trait]
66
pub(super) unsafe trait IsZero {
7-
/// Whether this value's representation is all zeros
7+
/// Whether this value's representation is all zeros,
8+
/// or can be represented with all zeroes.
89
fn is_zero(&self) -> bool;
910
}
1011

0 commit comments

Comments
 (0)