Code Monkey home page Code Monkey logo

Comments (1)

drahnr avatar drahnr commented on June 11, 2024

In rust (a39ac5ae175e0f9f910b1800a430b488ec0f2105) there are a handful of instances of the pattern:

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")]

from cargo-spellcheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.