summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vobject/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs
index a601783..f5b1b71 100644
--- a/src/vobject/lib.rs
+++ b/src/vobject/lib.rs
@@ -239,7 +239,7 @@ impl ParseError {
pub fn from_peg_error(e: parser::ParseError) -> Self {
ParseError {
- desc: stringify!(e).to_owned(),
+ desc: format!("{}", e).to_owned(),
orig: Some(e)
}
}