minor fix in the doc test of level method of log middleware

This commit is contained in:
Tglman 2023-10-03 23:36:47 +01:00
parent 164abbfe77
commit 71583b1bad
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ impl Logger {
///
/// # Examples
/// ```
/// # use log::Level;
/// # use actix_web::middleware::Logger;
/// Logger::default()
/// .level(Level::Debug);
/// ```