Skip to content

Commit

Permalink
Update IsZero documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
clubby789 committed Jan 18, 2023
1 parent b94a29a commit 50e9f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/alloc/src/vec/is_zero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 50e9f2e

Please sign in to comment.