modes:single|pair: Use square brackets instead of braces for display

Helps distinguish from the Debug print.
This commit is contained in:
2026-04-02 06:18:58 +01:00
committed by oreodave
parent 30a7c466e5
commit 6a86f7d62b
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ impl Hand for Single {
use std::fmt::{Display, Formatter, Result};
impl Display for Single {
fn fmt(&self, f: &mut Formatter<'_>) -> Result {
write!(f, "Single({})", self.0)
write!(f, "Single[{}]", self.0)
}
}