diff --git a/Cargo.toml b/Cargo.toml index b0f4ea1..6060cdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mirc" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["wpbirney Ok(()), } } -} \ No newline at end of file +} diff --git a/src/lib.rs b/src/lib.rs index fed716b..d2375d0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ pub mod color; -use color::Color; +pub use color::Color; use std::fmt; @@ -33,11 +33,7 @@ macro_rules! constructors_for { impl Paint { pub fn new(fg: Color, bg: Color, content: T) -> Paint { - Paint { - fg, - bg, - content, - } + Paint { fg, bg, content } } constructors_for!(