diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-07-29 23:50:38 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 23:50:38 +1000 |
| commit | 7088bf5cc6f85afe9b5f688bc5de5512c0a10a82 (patch) | |
| tree | 7868d247e17d0a09a2f04bffde39a646d2d6ff0e | |
| parent | 9bb40873206cab4e7a692077b03c358a78823878 (diff) | |
| parent | de02a32cf1203a9c9efb97a66dac44b7c646bb24 (diff) | |
Rollup merge of #144634 - lucaswerkmeister:patch-1, r=lqd
Fix typo in `DropGuard` doc Follows-up rust-lang/rust#144236 (I happened to see the typo yesterday but didn’t think it should delay the PR’s merge so I kept quiet, sorryyyyy).
| -rw-r--r-- | library/core/src/mem/drop_guard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/mem/drop_guard.rs b/library/core/src/mem/drop_guard.rs index 47ccb69acc8..fecc94b815e 100644 --- a/library/core/src/mem/drop_guard.rs +++ b/library/core/src/mem/drop_guard.rs @@ -4,7 +4,7 @@ use crate::ops::{Deref, DerefMut}; /// Wrap a value and run a closure when dropped. /// -/// This is useful for quickly creating desructors inline. +/// This is useful for quickly creating destructors inline. /// /// # Examples /// |
