Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 093f80b

Browse files
committed
chore: fix ci failures
1 parent f824373 commit 093f80b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library/alloc/src/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ pub trait LocalWake {
256256
/// waker, it should override this method. By default, it clones the
257257
/// [`Rc`] and calls [`wake`] on the clone.
258258
///
259-
/// [`wake`]: Rc::wake
259+
/// [`wake`]: LocalWaker::wake
260260
#[unstable(feature = "local_waker", issue = "118959")]
261261
fn wake_by_ref(self: &Rc<Self>) {
262262
self.clone().wake();

library/core/src/task/wake.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl fmt::Debug for Context<'_> {
269269
/// #![feature(noop_waker)]
270270
/// use std::task::{ContextBuilder, LocalWaker, Waker, Poll};
271271
/// use std::future::Future;
272-
///
272+
///
273273
/// let local_waker = LocalWaker::noop();
274274
/// let waker = Waker::noop();
275275
///
@@ -347,7 +347,7 @@ impl<'a> ContextBuilder<'a> {
347347
/// use std::task::{Waker, ContextBuilder};
348348
/// use std::future::{poll_fn, Future};
349349
/// use std::pin::pin;
350-
///
350+
///
351351
/// async fn with_waker<F>(f: F, waker: &Waker) -> F::Output
352352
/// where
353353
/// F: Future
@@ -365,7 +365,7 @@ impl<'a> ContextBuilder<'a> {
365365
/// f.as_mut().poll(&mut cx)
366366
/// }).await
367367
/// }
368-
///
368+
///
369369
/// # async fn __() {
370370
/// with_waker(async { /* ... */ }, &Waker::noop()).await;
371371
/// # }

0 commit comments

Comments
 (0)