Skip to content

Commit 50347b8

Browse files
yaahcdtolnay
andauthored
Update src/libstd/backtrace.rs
Co-authored-by: David Tolnay <[email protected]>
1 parent 397c82b commit 50347b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ impl Backtrace {
293293

294294
/// Forcibly captures a disabled backtrace, regardless of environment
295295
/// variable configuration.
296-
pub fn disabled() -> Backtrace {
296+
pub const fn disabled() -> Backtrace {
297297
Backtrace { inner: Inner::Disabled }
298298
}
299299

0 commit comments

Comments
 (0)