mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
WIP: CI: add spellcheck (#3421)
* CI: add spellcheck * revert me * CI: explicit command for spellchecker * spellcheck: edit misspells * CI: run spellcheck on diff * spellcheck: edits * spellcheck: edit misspells * spellcheck: add rules * spellcheck: mv configs * spellcheck: more edits * spellcheck: chore * spellcheck: one more thing * spellcheck: and another one * spellcheck: seems like it doesn't get to an end * spellcheck: new words after rebase * spellcheck: new words appearing out of nowhere * chore * review edits * more review edits * more edits * wonky behavior * wonky behavior 2 * wonky behavior 3 * change git behavior * spellcheck: another bunch of new edits * spellcheck: new words are koming out of nowhere * CI: finding the master * CI: fetching master implicitly * CI: undebug * new errors * a bunch of new edits * and some more * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Andronik Ordian <write@reusable.software> * Update xcm/xcm-executor/src/assets.rs Co-authored-by: Andronik Ordian <write@reusable.software> * Apply suggestions from code review Co-authored-by: Andronik Ordian <write@reusable.software> * Suggestions from the code review * CI: scan only changed files Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
@@ -84,13 +84,13 @@ impl Jaeger {
|
||||
Jaeger::Prep(cfg)
|
||||
}
|
||||
|
||||
/// Spawn the background task in order to send the tracing information out via udp
|
||||
/// Spawn the background task in order to send the tracing information out via UDP
|
||||
#[cfg(target_os = "unknown")]
|
||||
pub fn launch<S: SpawnNamed>(self, _spawner: S) -> result::Result<(), JaegerError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Spawn the background task in order to send the tracing information out via udp
|
||||
/// Spawn the background task in order to send the tracing information out via UDP
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
pub fn launch<S: SpawnNamed>(self, spawner: S) -> result::Result<(), JaegerError> {
|
||||
let cfg = match self {
|
||||
|
||||
@@ -326,7 +326,7 @@ impl Span {
|
||||
|
||||
/// Add an additional int tag to the span without consuming.
|
||||
///
|
||||
/// Should be used sparingly, introduction of new types is prefered.
|
||||
/// Should be used sparingly, introduction of new types is preferred.
|
||||
#[inline(always)]
|
||||
pub fn with_int_tag(mut self, tag: &'static str, i: i64) -> Self {
|
||||
self.add_int_tag(tag, i);
|
||||
@@ -354,11 +354,11 @@ impl Span {
|
||||
}
|
||||
}
|
||||
|
||||
/// Add a pov hash meta tag with lazy hash eval, without consuming the span.
|
||||
/// Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.
|
||||
#[inline(always)]
|
||||
pub fn add_pov(&mut self, pov: &PoV) {
|
||||
if self.is_enabled() {
|
||||
// avoid computing the pov hash if jaeger is not enabled
|
||||
// avoid computing the PoV hash if jaeger is not enabled
|
||||
self.add_string_fmt_debug_tag("pov", pov.hash());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user