Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix time::{pause,resume} requirement #6503

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

jainl28patel
Copy link
Contributor

Motivation

Fixes : #6495

Solution

feature list in rust nightly requires #[cfg_attr(docsrs, doc(cfg(feature = "<feature-name>")))] whose absence will result into feature requirement not being detected in doc.

@mox692 mox692 added T-docs Topic: documentation A-tokio Area: The main tokio crate M-time Module: tokio/time labels Apr 21, 2024
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@Darksonn Darksonn merged commit 1961890 into tokio-rs:master Apr 21, 2024
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-time Module: tokio/time T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On docs.rs, ‘time::pause’ and ‘time::resume’ no longer state requirement on feature test-util
3 participants