Skip to content

Commit 50e9f2e

Browse files
committed
Update IsZero documentation
1 parent b94a29a commit 50e9f2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/alloc/src/vec/is_zero.rs

+2-1
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)