From 3cdcbd1fa5d2ca143685ffe70a9a6f93204df52a Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 15 Jan 2016 21:13:34 -0800 Subject: [PATCH] Mention use_std dependency in log_panics docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6ff01c1..86162e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -789,7 +789,7 @@ impl error::Error for ShutdownLoggerError { /// The format is the same as the default panic handler. The reporting module is /// `log::panic`. /// -/// Requires the `nightly` feature. +/// Requires the `use_std` (enabled by default) and `nightly` features. #[cfg(all(feature = "nightly", feature = "use_std"))] pub fn log_panics() { std::panic::set_handler(panic::log);