Appease clippy

This commit is contained in:
Richard Feldman 2020-04-21 23:44:13 -04:00
parent 526d7cb4ba
commit 929e2240d4

View File

@ -374,6 +374,8 @@ pub fn can_expr(expr_str: &str) -> Result<CanExprOut, Fail> {
can_expr_with(&Bump::new(), repl_home(), expr_str)
}
// TODO make this return a named struct instead of a big tuple
#[allow(clippy::type_complexity)]
pub fn uniq_expr(
expr_str: &str,
) -> Result<
@ -394,6 +396,8 @@ pub fn uniq_expr(
uniq_expr_with(&Bump::new(), expr_str, declared_idents)
}
// TODO make this return a named struct instead of a big tuple
#[allow(clippy::type_complexity)]
pub fn uniq_expr_with(
arena: &Bump,
expr_str: &str,