mirror of https://github.com/fafhrd91/actix-web
minor fix in the doc test of level method of log middleware
This commit is contained in:
parent
164abbfe77
commit
71583b1bad
|
@ -147,6 +147,8 @@ impl Logger {
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
/// ```
|
/// ```
|
||||||
|
/// # use log::Level;
|
||||||
|
/// # use actix_web::middleware::Logger;
|
||||||
/// Logger::default()
|
/// Logger::default()
|
||||||
/// .level(Level::Debug);
|
/// .level(Level::Debug);
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in New Issue