Skip to content

Commit 3bfbf8c

Browse files
committed
Added Sync + Send to Printable used in BT.
1 parent 7533a21 commit 3bfbf8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/std/src/errors/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::prelude::*;
55
/// This wraps an actual backtrace to achieve two things:
66
/// - being able to fill this with a stub implementation in `no_std` environments
77
/// - being able to use this in conjunction with [`thiserror::Error`]
8-
pub struct BT(Box<dyn Printable>);
8+
pub struct BT(Box<dyn Printable + Sync + Send>);
99

1010
impl BT {
1111
#[track_caller]

0 commit comments

Comments
 (0)