mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
chore: fix typos and introduce ci check (#390)
This commit is contained in:
@ -137,7 +137,7 @@ where
|
||||
/// Constructor of `FormattingLayer`.
|
||||
///
|
||||
/// A `name` will be attached to all records during formatting.
|
||||
/// A `dst_writer` to forward all recrods.
|
||||
/// A `dst_writer` to forward all records.
|
||||
///
|
||||
/// ## Example
|
||||
/// ```rust
|
||||
@ -357,7 +357,7 @@ where
|
||||
where
|
||||
S: Subscriber + for<'a> LookupSpan<'a>,
|
||||
{
|
||||
// Get value of ket "message" or "target" if does not exist.
|
||||
// Get value of kept "message" or "target" if does not exist.
|
||||
let mut message = storage
|
||||
.values
|
||||
.get("message")
|
||||
|
||||
@ -15,7 +15,7 @@ use tracing_subscriber::{layer::Context, Layer};
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct StorageSubscription;
|
||||
|
||||
/// Sotrage to store key value pairs of spans.
|
||||
/// Storage to store key value pairs of spans.
|
||||
/// When new entry is crated it stores it in [HashMap] which is owned by `extensions`.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Storage<'a> {
|
||||
|
||||
Reference in New Issue
Block a user