Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Aug 24, 2021
1 parent db002a0 commit 8f70079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/alloc/tests/boxed.rs
Expand Up @@ -35,11 +35,11 @@ fn box_clone_and_clone_from_equivalence() {
}
}

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

0 comments on commit 8f70079

Please sign in to comment.