(&self, f: &mut std::fmt::Formatter<'_>)
| 145 | |
| 146 | impl std::fmt::Display for TurnRecordOutcome { |
| 147 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 148 | write!( |
| 149 | f, |
| 150 | "Turn {} recorded as {} ({} file{})", |
| 151 | self.turn_number, |
| 152 | self.hash.to_base32(), |
| 153 | self.file_count, |
| 154 | if self.file_count == 1 { "" } else { "s" }, |
| 155 | ) |
| 156 | } |
| 157 | } |
nothing calls this directly
no outgoing calls
no test coverage detected