Skip to content

Commit

Permalink
Merge pull request #9 from evenfurther/revert-prettyplease-upgrade
Browse files Browse the repository at this point in the history
Revert "Update Rust crate prettyplease to 0.2.15"
  • Loading branch information
samueltardieu authored Sep 23, 2023
2 parents 91bc4f3 + 53fef91 commit 648d0ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aoc-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ license = "Apache-2.0/MIT"

[dependencies]
eyre = "0.6.8"
prettyplease = "0.2.15"
prettyplease = "0.1.25"
regex = "1.9.5"
syn = "1.0.109"
2 changes: 1 addition & 1 deletion aoc/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ where
let after = chrono::Utc::now();
let version = version
.clone()
.map_or_else(String::new, |v| format!(" — {}", v));
.map_or_else(String::new, |v| format!(" — {v}"));
let elapsed = if opts.timing {
format!(" ({})", pretty_duration(after - before))
} else {
Expand Down

0 comments on commit 648d0ce

Please sign in to comment.