Skip to content

chore: remove redundant words in comment #4825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
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
2 changes: 1 addition & 1 deletion docs/src/styles/twoslash.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pre .query {
/* we need to place a fake and un-selectable copy of the error which _isn't_ broken out
/* behind the actual error message.

/* This sections keeps both of those two in in sync */
/* This sections keeps both of those two in sync */

pre .error,
pre .error-behind {
Expand Down
2 changes: 1 addition & 1 deletion lib/ssz/src/tree_hash/merkle_hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ fn get_parent(i: usize) -> usize {
///
/// It is a logic error to provide `i == 0`.
///
/// E.g., if `i` is 1, depth is 0. If `i` is is 1, depth is 1.
/// E.g., if `i` is 1, depth is 0. If `i` is 1, depth is 1.
fn get_depth(i: usize) -> usize {
let total_bits = mem::size_of::<usize>() * 8;
total_bits - i.leading_zeros() as usize - 1
Expand Down
2 changes: 1 addition & 1 deletion lib/unionlabs/src/aptos/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl AccountAddress {
/// Returns whether the address is a "special" address. Addresses are considered
/// special if the first 63 characters of the hex string are zero. In other words,
/// an address is special if the first 31 bytes are zero and the last byte is
/// smaller than than `0b10000` (16). In other words, special is defined as an address
/// smaller than `0b10000` (16). In other words, special is defined as an address
/// that matches the following regex: `^0x0{63}[0-9a-f]$`. In short form this means
/// the addresses in the range from `0x0` to `0xf` (inclusive) are special.
///
Expand Down
2 changes: 1 addition & 1 deletion unionvisor/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Bundle {
)
}

/// Provides the full path the the versions directory
/// Provides the full path the versions directory
pub fn versions_path(&self) -> PathBuf {
self.path.join(&self.meta.versions_directory)
}
Expand Down