mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
This commit is contained in:
parent
b8c0711273
commit
522d3ae1b6
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,7 @@ fn maybe_dump_ast(result: &Result<Box<ASTNode>, String>) {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::ptr_arg)]
|
||||
fn maybe_dump_rpn(rpn: &TokenStack) {
|
||||
use std::env;
|
||||
if let Ok(debug_var) = env::var("EXPR_DEBUG_RPN") {
|
||||
|
@ -317,6 +318,7 @@ fn push_token_to_either_stack(
|
|||
result
|
||||
}
|
||||
|
||||
#[allow(clippy::ptr_arg)]
|
||||
fn maybe_dump_shunting_yard_step(
|
||||
token_idx: usize,
|
||||
token: &Token,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue