diff options
| author | Léo Lanteri Thauvin <leseulartichaut@gmail.com> | 2021-08-25 15:48:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-25 15:48:59 +0200 |
| commit | 0aabf4bb4b74e9c7dd2c6164f362940dd6e5bf44 (patch) | |
| tree | 3438e51f2efe4434b98ae20b1d727ea3d366ed04 | |
| parent | dc2c9746f8236825b063e9b1fa4fe1f57a6118ed (diff) | |
| parent | 8f7007991e7fa1a1a6795f81e5d7efbdd503a8c1 (diff) | |
| download | rust-0aabf4bb4b74e9c7dd2c6164f362940dd6e5bf44.tar.gz rust-0aabf4bb4b74e9c7dd2c6164f362940dd6e5bf44.zip | |
Rollup merge of #88293 - est31:fix_grammar, r=Mark-Simulacrum
Fix grammar in alloc test
| -rw-r--r-- | library/alloc/tests/boxed.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/alloc/tests/boxed.rs b/library/alloc/tests/boxed.rs index 6a83f5da87c..a38b5c471bf 100644 --- a/library/alloc/tests/boxed.rs +++ b/library/alloc/tests/boxed.rs @@ -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)) { |
