diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-18 15:48:53 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-18 15:48:53 +0000 |
| commit | 50e9f2e6e87911659b6ae63230a5797f4cdf28e1 (patch) | |
| tree | 97a2a1095322a295aa58604b2592c462a102698e | |
| parent | b94a29a25ff9ca4a8edfc0b6c7d1d309dc03d5cd (diff) | |
| download | rust-50e9f2e6e87911659b6ae63230a5797f4cdf28e1.tar.gz rust-50e9f2e6e87911659b6ae63230a5797f4cdf28e1.zip | |
Update `IsZero` documentation
| -rw-r--r-- | library/alloc/src/vec/is_zero.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/alloc/src/vec/is_zero.rs b/library/alloc/src/vec/is_zero.rs index 2b6be14de79..cb9adf05c25 100644 --- a/library/alloc/src/vec/is_zero.rs +++ b/library/alloc/src/vec/is_zero.rs @@ -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; } |
