clippy::non_ascii_literal: Use unicode literals

This commit is contained in:
Uwe Klotz 2023-04-11 09:38:35 +02:00 committed by Alex
parent db79afd302
commit cd1514b8f9

View file

@ -190,8 +190,7 @@ mod tests {
use crate::util::text::TextEncoding;
use std::io::Cursor;
#[allow(clippy::non_ascii_literal)]
const TEST_STRING: &str = "løft¥";
const TEST_STRING: &str = "l\u{00f8}ft\u{00a5}";
#[test]
fn text_decode() {