diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-26 18:51:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-26 18:51:41 +0200 |
| commit | 9babe98562745dbdd6d7d376a004f91078cbe35e (patch) | |
| tree | 0c1bcefc27f7a7a7c9701831684348e00cfd9c05 /library/alloc/src/vec | |
| parent | ea8bd06b56bd34098b315f811d911a1d4ad9cb5d (diff) | |
| parent | 9a55e9edc57fa939185542be7e2d5b89418c78c9 (diff) | |
| download | rust-9babe98562745dbdd6d7d376a004f91078cbe35e.tar.gz rust-9babe98562745dbdd6d7d376a004f91078cbe35e.zip | |
Rollup merge of #110419 - jsoref:spelling-library, r=jyn514
Spelling library Split per https://github.com/rust-lang/rust/pull/110392 I can squash once people are happy w/ the changes. It's really uncommon for large sets of changes to be perfectly acceptable w/o at least some changes. I probably won't have time to respond until tomorrow or the next day
Diffstat (limited to 'library/alloc/src/vec')
| -rw-r--r-- | library/alloc/src/vec/in_place_collect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/in_place_collect.rs b/library/alloc/src/vec/in_place_collect.rs index 87d61deb1eb..2f1ee8b0353 100644 --- a/library/alloc/src/vec/in_place_collect.rs +++ b/library/alloc/src/vec/in_place_collect.rs @@ -201,7 +201,7 @@ where // // Note: This access to the source wouldn't be allowed by the TrustedRandomIteratorNoCoerce // contract (used by SpecInPlaceCollect below). But see the "O(1) collect" section in the - // module documenttation why this is ok anyway. + // module documentation why this is ok anyway. let dst_guard = InPlaceDstBufDrop { ptr: dst_buf, len, cap }; src.forget_allocation_drop_remaining(); mem::forget(dst_guard); |
