Skip to content

Commit

Permalink
Run all tests we can.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Aug 10, 2023
1 parent de92158 commit ec344c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ static ENABLED: AtomicCondition = AtomicCondition::DEFAULT;
///
/// # Example
///
/// ```rust,no_run
/// ```rust
/// use yansi::Paint;
///
/// // With styling enabled, ANSI color codes are emitted, thus `ne`.
Expand All @@ -27,7 +27,7 @@ pub fn disable() {
///
/// # Example
///
/// ```rust,no_run
/// ```rust
/// use yansi::Paint;
///
/// // With styling disabled, ANSI color codes are _not_ emitted.
Expand Down
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ macro_rules! constructor {
///
/// # Example
///
/// ```rust,no_run
/// ```rust
#[doc = concat!(
"# let value = yansi::Painted::new(0);",
$($("\n# let ", stringify!($a), " = 0;"),+)?
Expand Down Expand Up @@ -70,7 +70,7 @@ macro_rules! signature {
///
/// # Example
///
/// ```rust,no_run
/// ```rust
#[doc = concat!(
"# let value = yansi::Painted::new(0);",
$($("\n# let ", stringify!($a), " = 0;"),+)?
Expand Down
2 changes: 1 addition & 1 deletion src/paint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{Color, Attribute, Quirk, Style, Condition};
/// whether styling sequences are actually emitted: both must evaluated to true.
/// Otherwise, no styling sequences are emitted.
///
/// ```rust,no_run
/// ```rust
/// use yansi::{Paint, Condition};
///
/// println!("Hello, {}!", "world".red().underline().blink());
Expand Down

0 comments on commit ec344c3

Please sign in to comment.