Skip to content

Commit d0dcd97

Browse files
committed
rustfmt
1 parent 63a9618 commit d0dcd97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/matching.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ pub struct FileMeta {
4242
}
4343

4444
pub fn extension_to_regex(extension: &str) -> Regex {
45-
Regex::new(&format!("(?i)\\.{}$", &regex::escape(extension))).expect("we know this regex compiles")
45+
Regex::new(&format!("(?i)\\.{}$", &regex::escape(extension)))
46+
.expect("we know this regex compiles")
4647
}
4748

4849
pub fn adapter_matcher<T: AsRef<str>>(

0 commit comments

Comments
 (0)