mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 23:23:20 +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 {
|
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
|
key_line_re
|
||||||
.find_iter(stdout)
|
.find_iter(stdout)
|
||||||
.map(|m| m.as_str())
|
.map(|m| m.as_str())
|
||||||
|
|
Loading…
Reference in a new issue