Skip to content

Commit b3c5e25

Browse files
committed
Mirror PR 162 from readme to rustdoc
1 parent bec8204 commit b3c5e25

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/lib.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@
128128
//! # ;
129129
//! ```
130130
//!
131-
//! - If using the nightly channel, a backtrace is captured and printed with the
132-
//! error if the underlying error type does not already provide its own. In
133-
//! order to see backtraces, they must be enabled through the environment
134-
//! variables described in [`std::backtrace`]:
131+
//! - If using the nightly channel, or stable with `features = ["backtrace"]`, a
132+
//! backtrace is captured and printed with the error if the underlying error
133+
//! type does not already provide its own. In order to see backtraces, they
134+
//! must be enabled through the environment variables described in
135+
//! [`std::backtrace`]:
135136
//!
136137
//! - If you want panics and errors to both have backtraces, set
137138
//! `RUST_BACKTRACE=1`;

0 commit comments

Comments
 (0)