Skip to content

Commit

Permalink
Merge pull request #2 from ahenshaw/main
Browse files Browse the repository at this point in the history
fixed 'temporary value dropped while borrowed' error
  • Loading branch information
Aloso authored Oct 28, 2020
2 parents e4bd906 + ed32957 commit 172e272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/show_color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn show_impl(rgb: space::Rgb, msg: String, json: String) -> Result<()> {
queue!(
stdout,
SetForegroundColor(crossterm_color),
Print(&make_square(4)),
Print(make_square(4)),
ResetColor,
)?;
} else {
Expand Down

0 comments on commit 172e272

Please sign in to comment.