Skip to content

Commit

Permalink
chore: remove redundant words in comment (paradigmxyz#12394)
Browse files Browse the repository at this point in the history
Signed-off-by: wangjingcun <[email protected]>
  • Loading branch information
wangjingcun authored Nov 8, 2024
1 parent 87f328f commit c5ab424
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/net/discv4/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ impl Discv4Service {
}

/// Sends a new `FindNode` packet to the node with `target` as the lookup target but checks
/// whether we should should send a new ping first to renew the endpoint proof by checking the
/// whether we should send a new ping first to renew the endpoint proof by checking the
/// previously failed findNode requests. It could be that the node is no longer reachable or
/// lost our entry.
fn find_node_checked(&mut self, node: &NodeRecord, ctx: LookupContext) {
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/libmdbx-rs/mdbx-sys/libmdbx/mdbx.h++
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
/// \brief Checks whether the content of the slice is printable.
/// \param [in] disable_utf8 By default if `disable_utf8` is `false` function
/// checks that content bytes are printable ASCII-7 characters or a valid UTF8
/// sequences. Otherwise, if if `disable_utf8` is `true` function checks that
/// sequences. Otherwise, if `disable_utf8` is `true` function checks that
/// content bytes are printable extended 8-bit ASCII codes.
MDBX_NOTHROW_PURE_FUNCTION bool
is_printable(bool disable_utf8 = false) const noexcept;
Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ allow = [
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
# TODO: decide on MPL-2.0 handling
# These dependencies are grandfathered in in https://github.com/paradigmxyz/reth/pull/6980
# These dependencies are grandfathered in https://github.com/paradigmxyz/reth/pull/6980
{ allow = ["MPL-2.0"], name = "option-ext" },
{ allow = ["MPL-2.0"], name = "webpki-roots" },
]
Expand Down

0 comments on commit c5ab424

Please sign in to comment.