We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd9286 commit db7d07bCopy full SHA for db7d07b
library/core/src/alloc/mod.rs
@@ -226,7 +226,7 @@ pub unsafe trait AllocRef {
226
/// Behaves like `grow`, but also ensures that the new contents are set to zero before being
227
/// returned.
228
///
229
- /// The memory block will contain the following contents after a successful call to
+ /// The memory block will contain the following contents after a successful call to
230
/// `grow_zeroed`:
231
/// * Bytes `0..layout.size()` are preserved from the original allocation.
232
/// * Bytes `layout.size()..old_size` will either be preserved or zeroed,
0 commit comments