File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub use iter::IntoIter;
37
37
///
38
38
/// # Example
39
39
///
40
- /// Creating muliple copies of a `String`:
40
+ /// Creating multiple copies of a `String`:
41
41
/// ```rust
42
42
/// #![feature(array_repeat)]
43
43
///
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ async unsafe fn surface_drop_in_place<T: Drop + ?Sized>(ptr: *mut T) {
157
157
unsafe { crate :: ops:: fallback_surface_drop ( & mut * ptr) }
158
158
}
159
159
160
- /// Wraps a future to continue outputing `Poll::Ready(())` once after
160
+ /// Wraps a future to continue outputting `Poll::Ready(())` once after
161
161
/// wrapped future completes by returning `Poll::Ready(())` on poll. This
162
162
/// is useful for constructing async destructors to guarantee this
163
163
/// "fuse" property
@@ -223,7 +223,7 @@ where
223
223
/// # Safety
224
224
///
225
225
/// Same as `async_drop_in_place` except is lazy to avoid creating
226
- /// multiple mutable refernces .
226
+ /// multiple mutable references .
227
227
#[ lang = "async_drop_defer" ]
228
228
async unsafe fn defer < T : ?Sized > ( to_drop : * mut T ) {
229
229
// SAFETY: same safety requirements as `async_drop_in_place`
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ define!(
310
310
) ;
311
311
define ! (
312
312
"mir_unwind_cleanup" ,
313
- /// An unwind action that continues execution in a given basic blok .
313
+ /// An unwind action that continues execution in a given basic block .
314
314
fn UnwindCleanup ( goto: BasicBlock ) -> UnwindActionArg
315
315
) ;
316
316
Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ pub(crate) mod builtin {
1072
1072
/// If the environment variable is not defined, then a compilation error
1073
1073
/// will be emitted. To not emit a compile error, use the [`option_env!`]
1074
1074
/// macro instead. A compilation error will also be emitted if the
1075
- /// environment variable is not a vaild Unicode string.
1075
+ /// environment variable is not a valid Unicode string.
1076
1076
///
1077
1077
/// # Examples
1078
1078
///
You can’t perform that action at this time.
0 commit comments