chiark / gitweb /
currency: Split a line
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 23:11:51 +0000 (00:11 +0100)
committerIan 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

index 84a53f93434185e7459776900f69a9b1e29c5196..efd1691baff430cd1022f70ee697a99ab48087da 100644 (file)
@@ -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, &currency,
       remaining, &currency,
     )}];