Update src/libstd/backtrace.rs
Co-authored-by: David Tolnay <dtolnay@gmail.com>
This commit is contained in:
parent
397c82bae1
commit
50347b84dd
@ -293,7 +293,7 @@ pub fn force_capture() -> Backtrace {
|
||||
|
||||
/// Forcibly captures a disabled backtrace, regardless of environment
|
||||
/// variable configuration.
|
||||
pub fn disabled() -> Backtrace {
|
||||
pub const fn disabled() -> Backtrace {
|
||||
Backtrace { inner: Inner::Disabled }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user