Skip to content
Myr

Indicate a doc_cfg on the Error backtrace() method

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent fea4d8a · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/error.rs+1 added
307 unmodified lines
308 /// `RUST_LIB_BACKTRACE=0`.309 ///310 /// [tracking]: https://github.com/rust-lang/rust/issues/53487311 #[cfg(backtrace)]312 #[cfg_attr(doc_cfg, doc(cfg(nightly)))]313 pub fn backtrace(&self) -> &Backtrace {314 unsafe { ErrorImpl::backtrace(self.inner.by_ref()) }315 }316
536 unmodified lines