mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix clippy warnings
This commit is contained in:
parent
b6d7229525
commit
ccd4963e0f
2 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ pub fn canonicalize_pattern<'a>(
|
|||
|
||||
OpaqueRef(name) => match scope.lookup_opaque_ref(name, tag.region) {
|
||||
Ok((opaque, opaque_def)) => {
|
||||
debug_assert!(can_patterns.len() >= 1);
|
||||
debug_assert!(!can_patterns.is_empty());
|
||||
|
||||
if can_patterns.len() > 1 {
|
||||
env.problem(Problem::RuntimeError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue