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:
parent
ffbfea4fa4
commit
01b2834f2e
14 changed files with 22 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue