partially fix clippy warnings regarding umlauts

This commit is contained in:
Dietrich 2020-09-29 20:10:01 +02:00
parent 020a95920e
commit b72449eb88

View File

@ -5,6 +5,7 @@
clippy::nursery, clippy::nursery,
clippy::cargo clippy::cargo
)] )]
use crate::userlib_error::UserLibError; use crate::userlib_error::UserLibError;
use std::cmp::Eq; use std::cmp::Eq;
use std::convert::TryFrom; use std::convert::TryFrom;
@ -353,6 +354,7 @@ fn test_default_user() {
} }
#[test] #[test]
#[allow(clippy::non_ascii_literal)]
fn test_parse_gecos() { fn test_parse_gecos() {
// test if the Gecos field can be parsed and the resulting struct is populated correctly. // test if the Gecos field can be parsed and the resulting struct is populated correctly.
let gcdetail = "Full Name,504,11345342,ä1-2312,myemail@test.com"; let gcdetail = "Full Name,504,11345342,ä1-2312,myemail@test.com";