We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Some code blocks are not ignored as block.
To Reproduce
Steps to reproduce the behaviour:
/// # Example /// #[cfg_attr(unix, doc = "```no_run")] #[cfg_attr(not(unix), doc = "```ignore")] /// use std::path::Path; /// assert_eq!(Path::new("./is_a_directory/").is_dir(), true); /// ```
cargo spellcheck ...
Expected behavior
Ignore the code
Screenshots
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered:
In rust (a39ac5ae175e0f9f910b1800a430b488ec0f2105) there are a handful of instances of the pattern:
a39ac5ae175e0f9f910b1800a430b488ec0f2105
library/std/src/path.rs: #[cfg_attr(unix, doc = "```no_run")] library/std/src/path.rs: #[cfg_attr(not(unix), doc = "```ignore")] library/std/src/fs.rs: #[cfg_attr(unix, doc = "```no_run")] library/std/src/fs.rs: #[cfg_attr(not(unix), doc = "```ignore")] library/std/src/os/unix/net/stream.rs: #[cfg_attr(any(target_os = "android", target_os = "linux"), doc = "```no_run")] library/std/src/os/unix/net/stream.rs: #[cfg_attr(not(any(target_os = "android", target_os = "linux")), doc = "```ignore")] library/std/src/os/unix/net/datagram.rs: #[cfg_attr(any(target_os = "android", target_os = "linux"), doc = "```no_run")] library/std/src/os/unix/net/datagram.rs: #[cfg_attr(not(any(target_os = "android", target_os = "linux")), doc = "```ignore")] src/tools/clippy/tests/ui/doc/doc-fixable.rs:#[cfg_attr(feature = "a", doc = " ```")] src/tools/clippy/tests/ui/doc/doc-fixable.rs:#[cfg_attr(not(feature = "a"), doc = " ```ignore")] src/tools/clippy/tests/ui/doc/doc-fixable.fixed:#[cfg_attr(feature = "a", doc = " ```")] src/tools/clippy/tests/ui/doc/doc-fixable.fixed:#[cfg_attr(not(feature = "a"), doc = " ```ignore")]
Sorry, something went wrong.
drahnr
Successfully merging a pull request may close this issue.
Describe the bug
Some code blocks are not ignored as block.
To Reproduce
Steps to reproduce the behaviour:
cargo spellcheck ...
Expected behavior
Ignore the code
Screenshots
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered: