You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-concolor/concolor-doc-test-fix.patch

12 lines
380 B

diff -Naur a/src/lib.rs b/src/lib.rs
--- a/src/lib.rs 1973-11-29 13:33:09.000000000 -0800
+++ b/src/lib.rs 2022-07-10 21:46:46.592636461 -0700
@@ -30,6 +30,7 @@
//! If you are providing a command line option for controlling color, just call
//! ```rust
//! let when = concolor::ColorChoice::Always;
+//! #[cfg(feature = "api_unstable")]
//! concolor::set(when);
//! ```
//!