Skip to content

Commit

Permalink
fix single expectation print
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Nov 24, 2024
1 parent a4ad41f commit 5c4cc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl YagError {
[] => {
Cow::Borrowed("some unknown thing (this is probably a bug)")
}
[one_thing] => Cow::Owned(format!("`{one_thing:?}`")),
[one_thing] => Cow::Owned(format!("{one_thing}")),
many_things => {
let mut s = String::new();
let (last, leading) = many_things.split_last().unwrap();
Expand Down

0 comments on commit 5c4cc08

Please sign in to comment.