mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Clippy
This commit is contained in:
parent
6e5ee5562e
commit
739343a5b6
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue