mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove redundant words in comment (#12394)
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
This commit is contained in:
@ -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) {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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" },
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user