jets: fix needless-borrow linter warning

This commit is contained in:
Alex Shelkovnykov 2023-05-20 19:13:09 +00:00
parent da7954360e
commit 960d3a37d7

View File

@ -741,7 +741,7 @@ mod tests {
#[allow(non_snake_case)] #[allow(non_snake_case)]
fn A(stack: &mut NockStack, ubig: &UBig) -> Noun { fn A(stack: &mut NockStack, ubig: &UBig) -> Noun {
Atom::from_ubig(stack, &ubig).as_noun() Atom::from_ubig(stack, ubig).as_noun()
} }
fn assert_noun_eq(stack: &mut NockStack, mut a: Noun, mut b: Noun) { fn assert_noun_eq(stack: &mut NockStack, mut a: Noun, mut b: Noun) {