diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-07-04 17:12:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-04 17:12:10 +0800 |
| commit | ad9759701a565735b1e645762f0c9b3a7a8b02fe (patch) | |
| tree | 3fa8e6c5426eb1fa41b4ac3e6ebeaa322ab89688 /compiler/rustc_data_structures/src/vec_cache.rs | |
| parent | 3fd66139ef9fe27b56d8f3821a988161e9ff443b (diff) | |
| parent | c33dd1b306db360f92c46f1cab79e68e6a845bf5 (diff) | |
| download | rust-ad9759701a565735b1e645762f0c9b3a7a8b02fe.tar.gz rust-ad9759701a565735b1e645762f0c9b3a7a8b02fe.zip | |
Merge pull request #2489 from Kobzol/pull
Diffstat (limited to 'compiler/rustc_data_structures/src/vec_cache.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/vec_cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/vec_cache.rs b/compiler/rustc_data_structures/src/vec_cache.rs index 3b448c056b7..0ffa6b3205f 100644 --- a/compiler/rustc_data_structures/src/vec_cache.rs +++ b/compiler/rustc_data_structures/src/vec_cache.rs @@ -257,7 +257,7 @@ unsafe impl<K: Idx, #[may_dangle] V, I> Drop for VecCache<K, V, I> { // we are also guaranteed to just need to deallocate any large arrays (not iterate over // contents). // - // Confirm no need to deallocate invidual entries. Note that `V: Copy` is asserted on + // Confirm no need to deallocate individual entries. Note that `V: Copy` is asserted on // insert/lookup but not necessarily construction, primarily to avoid annoyingly propagating // the bounds into struct definitions everywhere. assert!(!std::mem::needs_drop::<K>()); |
