chore: cargo fmt

add-prefix-suffix
Meng Zhang 2023-05-29 17:00:23 -07:00
parent 0d11b0e832
commit 418558c05d
1 changed files with 1 additions and 4 deletions

View File

@ -6,10 +6,7 @@ lazy_static! {
static ref DEFAULT: Regex = Regex::new(r"(?m)^\n\n").unwrap();
static ref LANGUAGES: HashMap<&'static str, Regex> = {
let mut map = HashMap::new();
map.insert(
"unknown",
Regex::new(r"(?m)^(\n\n)").unwrap(),
);
map.insert("unknown", Regex::new(r"(?m)^(\n\n)").unwrap());
map.insert(
"python",
Regex::new(r"(?m)^(\n\n|def|#|from|class)").unwrap(),