print characters correctly
This commit is contained in:
@@ -537,7 +537,7 @@ impl fmt::Display for Constant {
|
|||||||
&Constant::Atom(ref atom) =>
|
&Constant::Atom(ref atom) =>
|
||||||
write!(f, "{}", atom),
|
write!(f, "{}", atom),
|
||||||
&Constant::Char(c) =>
|
&Constant::Char(c) =>
|
||||||
write!(f, "#\\{}", c),
|
write!(f, "{}", c as u8),
|
||||||
&Constant::EmptyList =>
|
&Constant::EmptyList =>
|
||||||
write!(f, "[]"),
|
write!(f, "[]"),
|
||||||
&Constant::Number(ref n) =>
|
&Constant::Number(ref n) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user