clippy and comments

comments and clippy
This commit is contained in:
faldor20 2024-03-17 18:16:39 +10:00
parent 089c499fc6
commit 56481dc724
No known key found for this signature in database
GPG key ID: F2216079B890CD57
5 changed files with 39 additions and 38 deletions

View file

@ -218,7 +218,8 @@ pub(crate) fn ok_to_ok_branch(
symbol: &Symbol,
env: &mut Env<'_>,
) -> WhenBranch {
let ok_branch = WhenBranch {
WhenBranch {
patterns: vec![WhenBranchPattern {
pattern: Loc::at_zero(Pattern::AppliedTag {
whole_var: pattern_var,
@ -236,8 +237,7 @@ pub(crate) fn ok_to_ok_branch(
}),
guard: None,
redundant: RedundantMark::known_non_redundant(),
};
ok_branch
}
}
/// `[]`
/// Creates an empty list of the type provided