Skip to content

Commit

Permalink
fix: make eprint actually eprint
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed May 28, 2021
1 parent 96a9bab commit bc51fd2
Show file tree
Hide file tree
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
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit bc51fd2

Please sign in to comment.