mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 11:41:13 +08:00
style: 自动格式化
This commit is contained in:
@@ -306,7 +306,9 @@ impl Compiler {
|
||||
let break_label = if let Some(sw_label) = ctx.current_switch() {
|
||||
*sw_label
|
||||
} else {
|
||||
let (bl, _) = ctx.current_loop().ok_or("break outside switch or loop".to_string())?;
|
||||
let (bl, _) = ctx
|
||||
.current_loop()
|
||||
.ok_or("break outside switch or loop".to_string())?;
|
||||
*bl
|
||||
};
|
||||
let break_pos = ctx.resolve_label(break_label)?;
|
||||
|
||||
Reference in New Issue
Block a user