Skip to content

Commit bd98e3a

Browse files
committed
rust fmt
Signed-off-by: Luke-zhang-04 <[email protected]>
1 parent d79f447 commit bd98e3a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/onefetch/deps.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ mod package_parsers {
4343
}
4444

4545
pub fn pip(contents: &str) -> Option<i32> {
46-
let count = Regex::new(r"(^[A-z]+)|(\n[A-z]+)").unwrap().find_iter(contents).count();
46+
let count = Regex::new(r"(^[A-z]+)|(\n[A-z]+)")
47+
.unwrap()
48+
.find_iter(contents)
49+
.count();
4750

4851
Some(count as i32)
4952
}

0 commit comments

Comments
 (0)