about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2025-07-29 13:24:41 +0200
committerGitHub <noreply@github.com>2025-07-29 13:24:41 +0200
commitde02a32cf1203a9c9efb97a66dac44b7c646bb24 (patch)
tree24bc76bd5bdc8a2f99c6c7fdc2b34484e7a3313b
parent552904134b564a74489db50aebe7070fdcce895c (diff)
downloadrust-de02a32cf1203a9c9efb97a66dac44b7c646bb24.tar.gz
rust-de02a32cf1203a9c9efb97a66dac44b7c646bb24.zip
Fix typo in `DropGuard` doc
-rw-r--r--library/core/src/mem/drop_guard.rs2
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
 ///