Problem
dex_router.rs has four unused parameter variables:
warning: unused variable: `amount_out_min` --> dex_router.rs:42
warning: unused variable: `to` --> dex_router.rs:44
warning: unused variable: `deadline` --> dex_router.rs:45
warning: unused variable: `amount_in_max` --> dex_router.rs:74
warning: unused variable: `to` --> dex_router.rs:76
warning: unused variable: `deadline` --> dex_router.rs:77
These are stub parameters in the mock DEX router. Since this is intentional stub code, they should be prefixed with _ to silence the warnings.
Acceptance Criteria
Branch & Commit Examples
branch: fix/clippy-warnings-cleanup
commit: fix(dex-router): prefix unused stub parameters with underscore
Problem
dex_router.rshas four unused parameter variables:These are stub parameters in the mock DEX router. Since this is intentional stub code, they should be prefixed with
_to silence the warnings.Acceptance Criteria
_(e.g._amount_out_min,_to,_deadline)cargo clippy --all-targets --all-features -- -D warningspasses fordex_router.rsBranch & Commit Examples