Clippy
This commit is contained in:
committed by
mergify[bot]
parent
293a0d8797
commit
350bb561eb
@ -29,6 +29,7 @@ fn main() {
|
||||
let mut out = BufWriter::new(file);
|
||||
let sysc_re = Regex::new(r#"register_syscall_by_name\([[:space:]]*b"([^"]+)","#).unwrap();
|
||||
for caps in sysc_re.captures_iter(text) {
|
||||
writeln!(out, "{}", caps[1].to_string()).unwrap();
|
||||
let name = caps[1].to_string();
|
||||
writeln!(out, "{}", name).unwrap();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user