mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-13 09:11:03 +00:00
chore: fix some typos in comments (#589)
Signed-off-by: gopherorg <gopherworld@icloud.com>
This commit is contained in:
@@ -45,7 +45,7 @@ const VERSION: &str = env!("CARGO_PKG_VERSION");
|
|||||||
const AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
|
const AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
|
||||||
const NAME: &str = "Substrate Telemetry Backend Core";
|
const NAME: &str = "Substrate Telemetry Backend Core";
|
||||||
const ABOUT: &str = "This is the Telemetry Backend Core that receives telemetry messages \
|
const ABOUT: &str = "This is the Telemetry Backend Core that receives telemetry messages \
|
||||||
from Substrate/Polkadot nodes and provides the data to a subsribed feed";
|
from Substrate/Polkadot nodes and provides the data to a subscribed feed";
|
||||||
|
|
||||||
#[derive(StructOpt, Debug)]
|
#[derive(StructOpt, Debug)]
|
||||||
#[structopt(name = NAME, version = VERSION, author = AUTHORS, about = ABOUT)]
|
#[structopt(name = NAME, version = VERSION, author = AUTHORS, about = ABOUT)]
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ impl<'de> Visitor<'de> for HashVisitor {
|
|||||||
|
|
||||||
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||||
formatter.write_str(
|
formatter.write_str(
|
||||||
"byte array of length 32, or hexidecimal string of 32 bytes beginning with 0x",
|
"byte array of length 32, or hexadecimal string of 32 bytes beginning with 0x",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ fn pick_best_ip_from_options(
|
|||||||
/// Follow <https://datatracker.ietf.org/doc/html/rfc7239> to decode the Forwarded header value.
|
/// Follow <https://datatracker.ietf.org/doc/html/rfc7239> to decode the Forwarded header value.
|
||||||
/// Roughly, proxies can add new sets of values by appending a comma to the existing list
|
/// Roughly, proxies can add new sets of values by appending a comma to the existing list
|
||||||
/// (so we have something like "values1, values2, values3" from proxy1, proxy2 and proxy3 for
|
/// (so we have something like "values1, values2, values3" from proxy1, proxy2 and proxy3 for
|
||||||
/// instance) and then the valeus themselves are ';' separated name=value pairs. The value in each
|
/// instance) and then the values themselves are ';' separated name=value pairs. The value in each
|
||||||
/// pair may or may not be surrounded in double quotes.
|
/// pair may or may not be surrounded in double quotes.
|
||||||
///
|
///
|
||||||
/// Examples from the RFC:
|
/// Examples from the RFC:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ pub mod server;
|
|||||||
/// is the slightly-lossy inverse of the custom serialization we do to feed messages.
|
/// is the slightly-lossy inverse of the custom serialization we do to feed messages.
|
||||||
pub mod feed_message_de;
|
pub mod feed_message_de;
|
||||||
|
|
||||||
/// A couple of macros to make it easier to test for the presense of things (mainly, feed messages)
|
/// A couple of macros to make it easier to test for the presence of things (mainly, feed messages)
|
||||||
/// in an iterable container.
|
/// in an iterable container.
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod contains_matches;
|
pub mod contains_matches;
|
||||||
|
|||||||
Reference in New Issue
Block a user