Add optional attributes

This commit is contained in:
Evan Almloff committed 2023-09-18 19:50:02 -05:00
1 parent 9f1c735cf1
commit d297e2baa2
6 files changed
+171 -57

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ impl Parse for ForLoop {
}
}
fn is_if_chain_terminated(chain: &ExprIf) -> bool {
pub(crate) fn is_if_chain_terminated(chain: &ExprIf) -> bool {
let mut current = chain;
loop {
if let Some((_, else_block)) = &current.else_branch {