Fix clippy warnings

This commit is contained in:
ayazhafiz 2022-02-23 09:11:19 -05:00
parent b6d7229525
commit ccd4963e0f
2 changed files with 2 additions and 2 deletions

View file

@ -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 =