about summary refs log tree commit diff
path: root/library/core/src/future
diff options
context:
space:
mode:
authorranger-ross <rosssullivan101@gmail.com>2024-08-31 14:57:38 +0900
committerranger-ross <rosssullivan101@gmail.com>2024-08-31 14:57:38 +0900
commitcbf92fcf39154a25b4bb491eebc4c3a27ae4e6ce (patch)
tree074cea8dd4743093bbf96beddd690de54d996a59 /library/core/src/future
parent92f45900bb1ef2c8e9cbb90478a4cddc4961de9f (diff)
downloadrust-cbf92fcf39154a25b4bb491eebc4c3a27ae4e6ce.tar.gz
rust-cbf92fcf39154a25b4bb491eebc4c3a27ae4e6ce.zip
Fixed more typos in library/core
Diffstat (limited to 'library/core/src/future')
-rw-r--r--library/core/src/future/async_drop.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/future/async_drop.rs b/library/core/src/future/async_drop.rs
index 8971a2c0aaf..16ac77fa150 100644
--- a/library/core/src/future/async_drop.rs
+++ b/library/core/src/future/async_drop.rs
@@ -157,7 +157,7 @@ async unsafe fn surface_drop_in_place<T: Drop + ?Sized>(ptr: *mut T) {
     unsafe { crate::ops::fallback_surface_drop(&mut *ptr) }
 }
 
-/// Wraps a future to continue outputing `Poll::Ready(())` once after
+/// Wraps a future to continue outputting `Poll::Ready(())` once after
 /// wrapped future completes by returning `Poll::Ready(())` on poll. This
 /// is useful for constructing async destructors to guarantee this
 /// "fuse" property
@@ -223,7 +223,7 @@ where
 /// # Safety
 ///
 /// Same as `async_drop_in_place` except is lazy to avoid creating
-/// multiple mutable refernces.
+/// multiple mutable references.
 #[lang = "async_drop_defer"]
 async unsafe fn defer<T: ?Sized>(to_drop: *mut T) {
     // SAFETY: same safety requirements as `async_drop_in_place`