Skip to content

Commit

Permalink
Merge branch 'master' into more_colors
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-a-thomas authored Aug 17, 2020
2 parents 1494e9e + 5a60e31 commit 1a6fc65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use core::fmt;

pub trait Color {
fn prelude(&self, f: &mut fmt::Formatter, canvas: Canvas) -> fmt::Result;
fn epilogue(&self, f: &mut core::fmt::Formatter, _canvas: crate::Canvas) -> core::fmt::Result {
#[allow(unused)]
fn epilogue(&self, f: &mut fmt::Formatter, canvas: Canvas) -> fmt::Result {
f.write_str("\x1B[0m")
}
}

0 comments on commit 1a6fc65

Please sign in to comment.