From c3b61bef57eb88b98cc2a882569a2c71cc69b9fa Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 13 Mar 2015 20:19:37 +0100 Subject: Avoid stringify --- src/vobject/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) } } -- cgit v1.2.3