about summary refs log tree commit diff
path: root/library/core/src/task
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-24 22:22:17 +0200
committerGitHub <noreply@github.com>2024-07-24 22:22:17 +0200
commit07947f3773f90dcded73de27daee0b44cfd035bb (patch)
tree6aa5d5356a65de59034ddc23e83e76e03d2314ca /library/core/src/task
parent2ff33bb1df6ef62a8f325887324cecf4b00f5087 (diff)
parentb74f426e074bbaafdd9d15d60c3f57ff4e3f91b9 (diff)
downloadrust-07947f3773f90dcded73de27daee0b44cfd035bb.tar.gz
rust-07947f3773f90dcded73de27daee0b44cfd035bb.zip
Rollup merge of #128046 - GrigorenkoPV:90435, r=tgross35
Fix some `#[cfg_attr(not(doc), repr(..))]`

Now that #90435 seems to have been resolved.
Diffstat (limited to 'library/core/src/task')
-rw-r--r--library/core/src/task/wake.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/task/wake.rs b/library/core/src/task/wake.rs
index e785d75a63d..d2b1d74ff6a 100644
--- a/library/core/src/task/wake.rs
+++ b/library/core/src/task/wake.rs
@@ -428,7 +428,7 @@ impl<'a> ContextBuilder<'a> {
 /// [`Future::poll()`]: core::future::Future::poll
 /// [`Poll::Pending`]: core::task::Poll::Pending
 /// [`Wake`]: ../../alloc/task/trait.Wake.html
-#[cfg_attr(not(doc), repr(transparent))] // work around https://github.com/rust-lang/rust/issues/66401
+#[repr(transparent)]
 #[stable(feature = "futures_api", since = "1.36.0")]
 pub struct Waker {
     waker: RawWaker,
@@ -692,7 +692,7 @@ impl fmt::Debug for Waker {
 /// [`Poll::Pending`]: core::task::Poll::Pending
 /// [`local_waker`]: core::task::Context::local_waker
 #[unstable(feature = "local_waker", issue = "118959")]
-#[cfg_attr(not(doc), repr(transparent))] // work around https://github.com/rust-lang/rust/issues/66401
+#[repr(transparent)]
 pub struct LocalWaker {
     waker: RawWaker,
 }