summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Unterwaditzer <markus@unterwaditzer.net>2015-03-13 20:19:37 +0100
committerMarkus Unterwaditzer <markus@unterwaditzer.net>2015-03-13 20:19:37 +0100
commitc3b61bef57eb88b98cc2a882569a2c71cc69b9fa (patch)
treebaa1ccb302811ae521b074521bdc811f155c0c59
parentd5ddd80e03df5b4b207d530c7927f49676ad2c22 (diff)
Avoid stringify
-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)
}
}