1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Fix clippy warnings with Rust 1.72.0

This commit is contained in:
Daniel Hofstetter 2023-08-25 08:12:18 +02:00
parent ffbfea4fa4
commit 01b2834f2e
14 changed files with 22 additions and 18 deletions

View file

@ -137,7 +137,7 @@ fn custom_context() {
}
fn get_sestatus_context(output: &[u8]) -> &str {
let re = regex::bytes::Regex::new(r#"Current context:\s*(\S+)\s*"#)
let re = regex::bytes::Regex::new(r"Current context:\s*(\S+)\s*")
.expect("Invalid regular expression");
output