mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Fix clippy warnings
This commit is contained in:
parent
b6d7229525
commit
ccd4963e0f
2 changed files with 2 additions and 2 deletions
|
@ -423,7 +423,7 @@ pub fn canonicalize_expr<'a>(
|
|||
if let ast::Expr::OpaqueRef(name) = loc_fn.value {
|
||||
// We treat opaques specially, since an opaque can wrap exactly one argument.
|
||||
|
||||
debug_assert!(args.len() >= 1);
|
||||
debug_assert!(!args.is_empty());
|
||||
|
||||
if args.len() > 1 {
|
||||
let problem =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue