CLIPPY
This commit is contained in:
parent
3bc6c6ded5
commit
07a6df43ff
|
@ -21,12 +21,7 @@ impl<'a> Display for Expr<'a> {
|
|||
match self {
|
||||
Self::List(list) => write_seq(f, list, "(", ")"),
|
||||
Self::Vector(vec) => write_seq(f, vec, "[", "]"),
|
||||
Self::Map(map) => write_seq(
|
||||
f,
|
||||
map.into_iter().map(|(k, v)| format!("{k} {v}")),
|
||||
"[",
|
||||
"]",
|
||||
),
|
||||
Self::Map(map) => write_seq(f, map.iter().map(|(k, v)| format!("{k} {v}")), "[", "]"),
|
||||
Self::Symbol(sym) => write!(f, "{sym}"),
|
||||
Self::Keyword(kw) => write!(f, ":{kw}"),
|
||||
Self::Number(n) => write!(f, "{n}"),
|
||||
|
|
Loading…
Reference in a new issue