Fix namespace error in no_std.

This commit is contained in:
Stephen Chung 2020-06-13 17:03:49 +08:00
parent b24fdd7a4d
commit f004575590

View File

@ -155,7 +155,7 @@ impl ParseErrorType {
}
impl fmt::Display for ParseErrorType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Self::BadInput(s) | ParseErrorType::MalformedCallExpr(s) => {
write!(f, "{}", if s.is_empty() { self.desc() } else { s })