Skip to content

Commit e76b8ec

Browse files
committed
Enforce trailing comma
1 parent 800d998 commit e76b8ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/language.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use {
77
};
88

99
macro_rules! define_languages {
10-
($( { $name:ident, $ascii:literal, $display:literal $(, $serialize:literal )? } ),*) => {
10+
($( { $name:ident, $ascii:literal, $display:literal $(, $serialize:literal )? } ),* ,) => {
1111

1212
#[strum(serialize_all = "lowercase")]
1313
#[derive(PartialEq, Eq, Hash, Clone, EnumString, EnumIter)]
@@ -103,7 +103,7 @@ define_languages!{
103103
{ TypeScript, "typescript.ascii", "TypeScript" },
104104
{ Vue, "vue.ascii", "Vue" },
105105
{ Xml, "xml.ascii", "XML" },
106-
{ Zig, "zig.ascii", "Zig" }
106+
{ Zig, "zig.ascii", "Zig" },
107107
}
108108

109109
impl Language {

0 commit comments

Comments
 (0)