Skip to content

Commit

Permalink
Mention use_std dependency in log_panics docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 16, 2016
1 parent ec82f77 commit 3cdcbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3cdcbd1

Please sign in to comment.