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

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