chore: remove redundant words in comment (#12394)

Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
This commit is contained in:
wangjingcun
2024-11-08 18:23:02 +08:00
committed by GitHub
parent 87f328f957
commit c5ab4243e7
3 changed files with 3 additions and 3 deletions

View File

@ -794,7 +794,7 @@ impl Discv4Service {
} }
/// Sends a new `FindNode` packet to the node with `target` as the lookup target but checks /// 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 /// previously failed findNode requests. It could be that the node is no longer reachable or
/// lost our entry. /// lost our entry.
fn find_node_checked(&mut self, node: &NodeRecord, ctx: LookupContext) { fn find_node_checked(&mut self, node: &NodeRecord, ctx: LookupContext) {

View File

@ -851,7 +851,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
/// \brief Checks whether the content of the slice is printable. /// \brief Checks whether the content of the slice is printable.
/// \param [in] disable_utf8 By default if `disable_utf8` is `false` function /// \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 /// 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. /// content bytes are printable extended 8-bit ASCII codes.
MDBX_NOTHROW_PURE_FUNCTION bool MDBX_NOTHROW_PURE_FUNCTION bool
is_printable(bool disable_utf8 = false) const noexcept; is_printable(bool disable_utf8 = false) const noexcept;

View File

@ -58,7 +58,7 @@ allow = [
# aren't accepted for every possible crate as with the normal allow list # aren't accepted for every possible crate as with the normal allow list
exceptions = [ exceptions = [
# TODO: decide on MPL-2.0 handling # 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 = "option-ext" },
{ allow = ["MPL-2.0"], name = "webpki-roots" }, { allow = ["MPL-2.0"], name = "webpki-roots" },
] ]