Explorar el Código

init_by_env should be qualified in example

Kaiyin Zhong hace 5 años
padre
commit
7464f40eb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -137,7 +137,7 @@ pub fn init() -> Result<(), SetLoggerError> {
 /// # #[macro_use] extern crate simple_logger;
 /// #
 /// # fn main() {
-/// init_by_env();
+/// simple_logger::init_by_env();
 /// warn!("This is an example message.");
 /// # }
 /// ```