Fix: only 1 message in 1 toml file

This commit is contained in:
itiB
2020-11-05 14:29:48 +09:00
parent 66f0886273
commit 77df2fcc9c
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ use serde::Deserialize;
pub struct Rule {
pub severity: Option<String>,
pub name: Option<String>,
pub messages: Option<Vec<(String, String)>>,
pub message: Option<String>,
}
#[derive(Debug, Deserialize)]