mirror of
https://github.com/openharmony/third_party_rust_proc-macro-error.git
synced 2026-07-19 16:33:33 -04:00
cargo fmt
This commit is contained in:
+3
-3
@@ -193,9 +193,9 @@ impl ToTokens for Diagnostic {
|
||||
&self.suggestions,
|
||||
));
|
||||
ts.extend(
|
||||
self.children.iter().map(|(start, end, msg)| {
|
||||
diag_to_tokens(*start, *end, &Level::Error, &msg, &[])
|
||||
}),
|
||||
self.children
|
||||
.iter()
|
||||
.map(|(start, end, msg)| diag_to_tokens(*start, *end, &Level::Error, &msg, &[])),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user