diff --git a/milli/src/criterion.rs b/milli/src/criterion.rs index e9f5f87ca..5d8ba09ba 100644 --- a/milli/src/criterion.rs +++ b/milli/src/criterion.rs @@ -76,8 +76,8 @@ impl fmt::Display for Criterion { Attribute => f.write_str("attribute"), WordsPosition => f.write_str("wordsPosition"), Exactness => f.write_str("exactness"), - Asc(attr) => write!(f, "asc({:?})", attr), - Desc(attr) => write!(f, "desc({:?})", attr), + Asc(attr) => write!(f, "asc({})", attr), + Desc(attr) => write!(f, "desc({})", attr), } } }