Skip to content

Commit

Permalink
chore: Remove negation in the behaviour of the inlining flag (#5998)
Browse files Browse the repository at this point in the history
  • Loading branch information
javra authored Jul 10, 2024
1 parent b5c5429 commit d1b9097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cairo-lang-lowering/src/inline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn priv_should_inline(
InlineConfiguration::Always(_) => true,
InlineConfiguration::None => should_inline_lowered(db, function_id)?,
},
InliningStrategy::Avoid => !matches!(config, InlineConfiguration::Always(_)),
InliningStrategy::Avoid => matches!(config, InlineConfiguration::Always(_)),
})
}

Expand Down

0 comments on commit d1b9097

Please sign in to comment.