Skip to content

Commit ab3862d

Browse files
committed
formatting
1 parent f4b5408 commit ab3862d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vm/src/frame.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,10 @@ impl ExecutingFrame<'_> {
612612
if fastlocals[idx].is_none() {
613613
return Err(vm.new_exception_msg(
614614
vm.ctx.exceptions.unbound_local_error.to_owned(),
615-
format!("local variable '{}' referenced before assignment", self.code.varnames[idx]),
615+
format!(
616+
"local variable '{}' referenced before assignment",
617+
self.code.varnames[idx]
618+
),
616619
));
617620
}
618621
fastlocals[idx] = None;

0 commit comments

Comments
 (0)