summaryrefslogtreecommitdiffstats
path: root/wincolor
diff options
context:
space:
mode:
authorLilian A. Moraru <lilian.moraru90@gmail.com>2017-12-19 01:04:49 +0200
committerAndrew Gallant <jamslam@gmail.com>2017-12-19 08:16:31 -0500
commit636bbc7c8f88585bc4aa22aabea47373fe92aa59 (patch)
tree90263ded94b755b09563a1e6b68a68d7f093f15e /wincolor
parent162e085b98f8f2c627a92402d2e38dda04fc3e48 (diff)
Speeding CI builds
Diffstat (limited to 'wincolor')
-rw-r--r--wincolor/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/wincolor/src/lib.rs b/wincolor/src/lib.rs
index 44c9e410..457f33ae 100644
--- a/wincolor/src/lib.rs
+++ b/wincolor/src/lib.rs
@@ -8,6 +8,8 @@ Note that on non-Windows platforms, this crate is empty but will compile.
# Example
```no_run
+# #[cfg(windows)]
+# {
use wincolor::{Console, Color, Intense};
let mut con = Console::stdout().unwrap();
@@ -15,6 +17,7 @@ con.fg(Intense::Yes, Color::Cyan).unwrap();
println!("This text will be intense cyan.");
con.reset().unwrap();
println!("This text will be normal.");
+# }
```
*/