Skip to content

Commit 0aabf4b

Browse files
Rollup merge of #88293 - est31:fix_grammar, r=Mark-Simulacrum
Fix grammar in alloc test
2 parents dc2c974 + 8f70079 commit 0aabf4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/alloc/tests/boxed.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ fn box_clone_and_clone_from_equivalence() {
3535
}
3636
}
3737

38-
/// This test might give a false positive in case the box realocates, but the alocator keeps the
39-
/// original pointer.
38+
/// This test might give a false positive in case the box reallocates,
39+
/// but the allocator keeps the original pointer.
4040
///
41-
/// On the other hand it won't give a false negative, if it fails than the memory was definitely not
42-
/// reused
41+
/// On the other hand, it won't give a false negative: If it fails, then the
42+
/// memory was definitely not reused.
4343
#[test]
4444
fn box_clone_from_ptr_stability() {
4545
for size in (0..8).map(|i| 2usize.pow(i)) {

0 commit comments

Comments
 (0)