nixpkgs/pkgs/games/cl-wordle/rust-1-57.diff

14 lines
336 B
Diff
Raw Normal View History

2022-02-08 03:56:33 +00:00
diff --git a/src/state.rs b/src/state.rs
index 5fac0a3..41cbde4 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -74,7 +74,7 @@ impl State {
'X'
};
- write!(w, "{score}/6",)?;
+ write!(w, "{:?}/6", score)?;
for Guess(_, m) in self.guesses() {
write!(w, "\n{}", m)?;
2022-02-06 19:23:08 +00:00
}