Skip to content

Commit

Permalink
Fix eprintln typos
Browse files Browse the repository at this point in the history
  • Loading branch information
seankim658 committed Dec 30, 2024
1 parent b16a976 commit 56d77c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/general_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Here's a snippet of what will be copied to your clipboard:
> 133 | if let Some(s) = &spinner {
> 134 | s.finish_with_message("Failed!".red().to_string());
> 135 | }
> 136 | eprint!(
> 136 | eprintln!(
> 137 | "\n{}{}{} {}",
> 138 | "[".bold().white(),
> 139 | "!".bold().red(),
Expand Down
2 changes: 1 addition & 1 deletion docs/git_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ In this example I used issue [#9](https://github.com/seankim658/codeprompts/issu
> 133 | if let Some(s) = &spinner {
> 134 | s.finish_with_message("Failed!".red().to_string());
> 135 | }
> 136 | eprint!(
> 136 | eprintln!(
> 137 | "\n{}{}{} {}",
> 138 | "[".bold().white(),
> 139 | "!".bold().red(),
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async fn main() -> Result<(), Error> {
if let Some(project_root) = args.path {
project_root
} else {
eprint!(
eprintln!(
"{}{}{} {}\n",
"[".bold().white(),
"!".bold().red(),
Expand Down Expand Up @@ -180,7 +180,7 @@ async fn main() -> Result<(), Error> {
if let Some(s) = &spinner {
s.finish_with_message("Failed!".red().to_string());
}
eprint!(
eprintln!(
"\n{}{}{} {}",
"[".bold().white(),
"!".bold().red(),
Expand Down

0 comments on commit 56d77c2

Please sign in to comment.