We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a39364 commit e01cb0eCopy full SHA for e01cb0e
src/rt/mod.rs
@@ -73,11 +73,11 @@ where
73
trace!(thread = ?id, "spawn");
74
75
Scheduler::spawn(Box::new(move || {
76
- /// the given closure `f` may panic when executed.
77
- /// when this happens, we still want to ensure that
78
- /// thread locals are destructed. therefore, we set
79
- /// up a guard that is dropped as part of the unwind
80
- /// logic when `f` panics.
+ // the given closure `f` may panic when executed.
+ // when this happens, we still want to ensure that
+ // thread locals are destructed. therefore, we set
+ // up a guard that is dropped as part of the unwind
+ // logic when `f` panics.
81
struct PanicGuard;
82
impl Drop for PanicGuard {
83
fn drop(&mut self) {
0 commit comments