Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

fix: typos in documentation files #7665

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ci/do-audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down