mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
chore: move doc comments inside macro invocations (#901)
This commit is contained in:
committed by
Carl Lerche
parent
dd66096ea0
commit
2d5aa82341
@@ -44,8 +44,10 @@ pub(crate) struct HandlePriv {
|
||||
inner: Weak<Inner>,
|
||||
}
|
||||
|
||||
/// Tracks the timer for the current execution context.
|
||||
thread_local!(static CURRENT_TIMER: RefCell<Option<HandlePriv>> = RefCell::new(None));
|
||||
thread_local!{
|
||||
/// Tracks the timer for the current execution context.
|
||||
static CURRENT_TIMER: RefCell<Option<HandlePriv>> = RefCell::new(None)
|
||||
}
|
||||
|
||||
/// Set the default timer for the duration of the closure.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user