mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
clippy and comments
comments and clippy
This commit is contained in:
parent
089c499fc6
commit
56481dc724
5 changed files with 39 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue