Skip to content

Commit 413e98e

Browse files
committed
fix a lint about cascade
1 parent 68aa02d commit 413e98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ code:
15081508
self.compile_operand_words(vec![operands.next().unwrap()])?;
15091509
let span = self.add_span(modified.modifier.span.clone());
15101510
let count = a_sig.args.saturating_sub(b_sig.outputs);
1511-
if count == 0 {
1511+
if a_sig.args < b_sig.outputs {
15121512
self.emit_diagnostic(
15131513
format!(
15141514
"{}'s second function has more outputs \

0 commit comments

Comments
 (0)