diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rustfmt/tests/target/cfg_if/detect/os/other.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/cfg_if/detect/os/other.rs b/src/tools/rustfmt/tests/target/cfg_if/detect/os/other.rs new file mode 100644 index 000000000..23e399ea7 --- /dev/null +++ b/src/tools/rustfmt/tests/target/cfg_if/detect/os/other.rs @@ -0,0 +1,9 @@ +//! Other operating systems + +use crate::detect::Feature; + +/// Performs run-time feature detection. +#[inline] +pub fn check_for(_x: Feature) -> bool { + false +} |