We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[doc]
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
cfg and friends paired with doc = "..." should trigger syntax highlight if applicable.
cfg
doc = "..."
/// # Example /// /// ```rust /// let _ = example(&[1, 2, 3]); /// ``` /// /// # Another example /// #[cfg_attr(feature = "alloc", doc = "```rust")] #[cfg_attr(not(feature = "alloc"), doc = "```ignore")] /// let _ = example(&alloc::vec![1, 2, 3]); /// ``` pub fn example<T>(t: &T) -> &[i32] where T: AsRef<[i32]> { t.as_ref() }
The text was updated successfully, but these errors were encountered:
0fbfab3
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
cfg
and friends paired withdoc = "..."
should trigger syntax highlight if applicable.The text was updated successfully, but these errors were encountered: