Skip to content

Commit

Permalink
Merge pull request #12 from EverlastingBugstopper/avery/fixup-eprintnl
Browse files Browse the repository at this point in the history
fix: make eprint actually eprint
EverlastingBugstopper authored May 28, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 96a9bab + bc51fd2 commit e40f5aa
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,12 +11,12 @@ repository = "https://github.com/EverlastingBugstopper/billboard"
version = "0.1.0"

[dependencies]
console = "0.9"
console = "0.14"
term_size = "0.3"
thiserror = "1.0"

[dev-dependencies]
version-sync = "0.8"
version-sync = "0.9"

[[example]]
name = "alignment"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ impl Billboard {
/// Billboard::default().eprint("Hello, World!\nNew lines can be created with the newline separator :).");
/// ```
pub fn eprint(&self, content: impl Display) {
println!("{}", self.enclose(content));
eprintln!("{}", self.enclose(content));
}

/// Get your content in a `Billboard` as a `String`.

0 comments on commit e40f5aa

Please sign in to comment.