File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ) ) ]
535535macro_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 {
553553macro_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 {
573573macro_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}
You can’t perform that action at this time.
0 commit comments