We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc2c974 + 8f70079 commit 0aabf4bCopy full SHA for 0aabf4b
library/alloc/tests/boxed.rs
@@ -35,11 +35,11 @@ fn box_clone_and_clone_from_equivalence() {
35
}
36
37
38
-/// This test might give a false positive in case the box realocates, but the alocator keeps the
39
-/// original pointer.
+/// This test might give a false positive in case the box reallocates,
+/// but the allocator keeps the original pointer.
40
///
41
-/// On the other hand it won't give a false negative, if it fails than the memory was definitely not
42
-/// reused
+/// On the other hand, it won't give a false negative: If it fails, then the
+/// memory was definitely not reused.
43
#[test]
44
fn box_clone_from_ptr_stability() {
45
for size in (0..8).map(|i| 2usize.pow(i)) {
0 commit comments