diff --git a/account-compression/programs/account-compression/src/canopy.rs b/account-compression/programs/account-compression/src/canopy.rs index 284b2fbbe73..8dfd5e8790a 100644 --- a/account-compression/programs/account-compression/src/canopy.rs +++ b/account-compression/programs/account-compression/src/canopy.rs @@ -224,7 +224,7 @@ pub fn check_canopy_no_nodes_to_right_of_index( let path_len = get_cached_path_length(canopy, max_depth)?; let mut node_idx = ((1 << max_depth) + index) >> (max_depth - path_len); - // no need to check the node_idx as it's the leaf continaing the index underneath it + // no need to check the node_idx as it's the leaf containing the index underneath it while node_idx & (node_idx + 1) != 0 { // check the next node to the right node_idx += 1; diff --git a/account-compression/programs/account-compression/src/concurrent_tree_wrapper.rs b/account-compression/programs/account-compression/src/concurrent_tree_wrapper.rs index e954fea5c57..3d2628ea48b 100644 --- a/account-compression/programs/account-compression/src/concurrent_tree_wrapper.rs +++ b/account-compression/programs/account-compression/src/concurrent_tree_wrapper.rs @@ -7,7 +7,7 @@ //! and buffer size from the header information stored on-chain. Usage of the //! macros directly is discouraged, as they have huge match statements with //! every case taking it's own stack frame. Instead, use the exported functions -//! from this module and refenrece or Box the arguments to the functions to +//! from this module and reference or Box the arguments to the functions to //! avoid the stack frame explosion. pub use crate::error::AccountCompressionError; diff --git a/ci/do-audit.sh b/ci/do-audit.sh index 43ceb9c0ac8..ce770f1f834 100755 --- a/ci/do-audit.sh +++ b/ci/do-audit.sh @@ -31,7 +31,7 @@ cargo_audit_ignores=( # ID: RUSTSEC-2024-0421 # URL: https://rustsec.org/advisories/RUSTSEC-2024-0421 # Solution: Upgrade to >=1.0.0 - # need to solve this depentant tree: + # need to solve this dependant tree: # jsonrpc-core-client v18.0.0 -> jsonrpc-client-transports v18.0.0 -> url v1.7.2 -> idna v0.1.5 --ignore RUSTSEC-2024-0421 )