Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazhafiz committed Jun 22, 2023
1 parent 6e5ee55 commit 739343a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/solve/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl<'a> Env<'a> {
}

/// Retrieves an environment for unification.
pub fn uenv<'r>(&'r mut self) -> UEnv<'r> {
pub fn uenv(&mut self) -> UEnv {
UEnv::new(self.subs)
}
}
2 changes: 2 additions & 0 deletions crates/compiler/solve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#![warn(clippy::dbg_macro)]
// See github.com/roc-lang/roc/issues/800 for discussion of the large_enum_variant check.
#![allow(clippy::large_enum_variant)]
// TODO to be removed
#![allow(clippy::too_many_arguments)]

pub mod ability;
pub mod module;
Expand Down

0 comments on commit 739343a

Please sign in to comment.