Few minor changes, clippy fixes, and test fixes

This commit is contained in:
microproofs
2024-08-03 01:43:43 -04:00
committed by Kasey
parent 4cf81a19b1
commit 8a461d5bd5
5 changed files with 323 additions and 263 deletions

View File

@@ -726,7 +726,7 @@ impl Term<Name> {
///
/// Note that the 'otherwise' term is expected
/// to be a delayed term.
fn unwrap_tail_or<F>(var: Rc<Name>, callback: F, otherwise: &Term<Name>) -> Term<Name>
pub fn unwrap_tail_or<F>(var: Rc<Name>, callback: F, otherwise: &Term<Name>) -> Term<Name>
where
F: FnOnce(Term<Name>) -> Term<Name>,
{