--- a/src/init.rs
+++ b/src/init.rs
@@ -108,7 +108,7 @@
 /// of your crate name:
 ///
 /// ```
-/// if Err(e) = cli_log::try_init_cli_log!("my-app") {
+/// if let Err(e) = cli_log::try_init_cli_log!("my-app") {
 ///      eprintln!("Running without log because of error: {}", e);
 /// }
 /// ```
