mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-25 05:29:39 +00:00
cargo +nightly clippy --fix --workspace
This commit is contained in:
parent
6586a756c1
commit
265fa7f7c7
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ fn test_config_list_all() {
|
|||
}
|
||||
|
||||
fn find_stdout_lines(keyname_pattern: &str, stdout: &str) -> String {
|
||||
let key_line_re = Regex::new(&format!(r"(?m)^{}=.*$", keyname_pattern)).unwrap();
|
||||
let key_line_re = Regex::new(&format!(r"(?m)^{keyname_pattern}=.*$")).unwrap();
|
||||
key_line_re
|
||||
.find_iter(stdout)
|
||||
.map(|m| m.as_str())
|
||||
|
|
Loading…
Reference in a new issue