chore: fix clippy warnings and nightly fmt

This commit is contained in:
TAMARA LIPOWSKI
2025-01-16 16:13:15 -05:00
parent e93bf11a85
commit f8e8a72c53
14 changed files with 119 additions and 89 deletions

View File

@@ -1,6 +1,7 @@
use num_bigint::BigUint;
use tycho_core::Bytes;
#[allow(dead_code)]
pub struct Approval {
pub spender: Bytes,
pub owner: Bytes,
@@ -9,5 +10,6 @@ pub struct Approval {
}
pub trait UserApprovalsManager {
#[allow(dead_code)]
fn encode_approvals(&self, approvals: Vec<Approval>) -> Vec<u8>;
}