Closed Redrield closed 5 years ago
Thanks again!
Can you maybe add a quick test for this, too? A doc comment ont he impl block with something like
# let test_target = output::human::test();
let mut out = output::new().add_target(test_target.target());
out.print("lorem ipsum")?;
# assert_eq!(test_target.to_string(), "lorem ipsum\n");
should do it.
Thanks for the quick update! A doc comment would've been more visible, but this is fine, too.
Allows Output::print to accept a &str. Fixes #10