Fixed warnings

This commit is contained in:
Fayeed Pawaskar
2023-07-24 12:41:56 +05:30
parent 1dcc1ca524
commit 7248425a76
5 changed files with 4 additions and 5 deletions

View File

@@ -958,7 +958,7 @@ impl<'a, R: CharRead> Parser<'a, R> {
}
fn shift_token(&mut self, token: Token, op_dir: &CompositeOpDir) -> Result<(), ParserError> {
fn negate_int_rc(mut t: TypedArenaPtr<Integer>) -> TypedArenaPtr<Integer> {
fn negate_int_rc(t: TypedArenaPtr<Integer>) -> TypedArenaPtr<Integer> {
let i: Integer = (*t).clone();
let mut data = i.neg();
TypedArenaPtr::new(&mut data)