diff options
| author | Lucas Werkmeister <mail@lucaswerkmeister.de> | 2025-07-29 13:24:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 13:24:41 +0200 |
| commit | de02a32cf1203a9c9efb97a66dac44b7c646bb24 (patch) | |
| tree | 24bc76bd5bdc8a2f99c6c7fdc2b34484e7a3313b | |
| parent | 552904134b564a74489db50aebe7070fdcce895c (diff) | |
| download | rust-de02a32cf1203a9c9efb97a66dac44b7c646bb24.tar.gz rust-de02a32cf1203a9c9efb97a66dac44b7c646bb24.zip | |
Fix typo in `DropGuard` doc
| -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 /// |
