stylistic improvements

This commit is contained in:
Anton-4 2024-03-09 20:47:19 +01:00
parent 71b97572ae
commit 76c47c5d6f
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
6 changed files with 83 additions and 66 deletions

View file

@ -2779,7 +2779,7 @@ fn update<'a>(
let subs = solved_subs.into_inner();
if toplevel_expects.pure.len() > 0 || toplevel_expects.fx.len() > 0 {
if !toplevel_expects.pure.is_empty() || !toplevel_expects.fx.is_empty() {
state.toplevel_expects.insert(module_id, toplevel_expects);
}