Add optional attributes
This commit is contained in:
1 parent
9f1c735cf1
commit
d297e2baa2
6 files changed
+171
-57
No files matched your search
@@ -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)) = ¤t.else_branch {
|
||||
|
||||
Reference in new issue
Block a user