Skip to content

Commit 761461a

Browse files
authored
Merge pull request #726 from Isvane/fix/typos
fix typos in kv compile errors and log documentation
2 parents 9c55760 + 48ce372 commit 761461a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/macros.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
/// The `logger` argument accepts a value that implements the `Log` trait. The value
6969
/// will be borrowed within the macro.
7070
///
71-
/// Note that the global level set via Cargo features, or through `set_max_level` will
71+
/// Note that the global level set via Cargo features or through `set_max_level` will
7272
/// still apply, even when a custom logger is supplied with the `logger` argument.
7373
#[macro_export]
7474
#[clippy::format_args]
@@ -534,7 +534,7 @@ macro_rules! __log_value_sval {
534534
#[cfg(not(feature = "kv_sval"))]
535535
macro_rules! __log_value_sval {
536536
($args:expr) => {
537-
compile_error!("capturing values as `sval::Value` requites the `kv_sval` feature of `log`")
537+
compile_error!("capturing values as `sval::Value` requires the `kv_sval` feature of `log`")
538538
};
539539
}
540540

@@ -553,7 +553,7 @@ macro_rules! __log_value_serde {
553553
macro_rules! __log_value_serde {
554554
($args:expr) => {
555555
compile_error!(
556-
"capturing values as `serde::Serialize` requites the `kv_serde` feature of `log`"
556+
"capturing values as `serde::Serialize` requires the `kv_serde` feature of `log`"
557557
)
558558
};
559559
}
@@ -573,7 +573,7 @@ macro_rules! __log_value_error {
573573
macro_rules! __log_value_error {
574574
($args:expr) => {
575575
compile_error!(
576-
"capturing values as `std::error::Error` requites the `kv_std` feature of `log`"
576+
"capturing values as `std::error::Error` requires the `kv_std` feature of `log`"
577577
)
578578
};
579579
}

0 commit comments

Comments
 (0)