Skip to content

cfg_attr based modification of ticks is split into two code chunks #263

@drahnr

Description

@drahnr

Describe the bug

Some code blocks are not ignored as block.

To Reproduce

Steps to reproduce the behaviour:

  1. A file containing
/// # 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);
/// ```
  1. Run cargo spellcheck ...
  2. ...

Expected behavior

Ignore the code

Screenshots

Please complete the following information:

  • System: Fedora
  • Obtained: git
  • Version: 0.11.2

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions