chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c6391
)
currency: Split a line
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 23:11:51 +0000
(
00:11
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 23:45:01 +0000
(
00:45
+0100)
This is going to get more complicated.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/currency.rs
patch
|
blob
|
history
diff --git
a/src/currency.rs
b/src/currency.rs
index 84a53f93434185e7459776900f69a9b1e29c5196..efd1691baff430cd1022f70ee697a99ab48087da 100644
(file)
--- a/
src/currency.rs
+++ b/
src/currency.rs
@@
-170,7
+170,8
@@
impl PieceTrait for Banknote {
let logents = vec![ LogEntry { html: hformat!(
"{} took {} {}{}, leaving {}{}",
- gpl.nick.to_html(), self_.image.describe_html(tgpc.face)?,
+ gpl.nick.to_html(),
+ self_.image.describe_html(tgpc.face)?,
take, ¤cy,
remaining, ¤cy,
)}];