cargo fmt

This commit is contained in:
Maan2003 2021-06-13 09:48:15 +05:30
parent aabd41cafc
commit 5ac6804bb3
No known key found for this signature in database
GPG key ID: E9AF024BA63C70ED
9 changed files with 38 additions and 61 deletions

View file

@ -101,12 +101,7 @@ impl Diagnostic {
S: MultiSpan,
T: Into<String>,
{
Diagnostic {
level,
message: message.into(),
spans: spans.into_spans(),
children: vec![],
}
Diagnostic { level, message: message.into(), spans: spans.into_spans(), children: vec![] }
}
diagnostic_child_methods!(span_error, error, Level::Error);