fix label typo in docs

This commit is contained in:
benny-n 2022-02-22 02:12:05 +02:00
parent 1f886ae741
commit 90353618b9
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ impl Logger {
/// "-".to_string() /// "-".to_string()
/// } /// }
/// } /// }
/// Logger::new("example %{ERROR_STATUS}xo") /// Logger::new("example %{ERROR_STATUS}xs")
/// .custom_status_replace("ERROR_STATUS", |status| log_if_error(status) ); /// .custom_status_replace("ERROR_STATUS", |status| log_if_error(status) );
/// ``` /// ```
pub fn custom_status_replace( pub fn custom_status_replace(