summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/watch.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2020-01-23 14:40:43 -0800
committerGitHub <noreply@github.com>2020-01-23 14:40:43 -0800
commita70f7203a46d471345128832987017612d8e4585 (patch)
treeb73d40b54e0d627a7bfaa64ccacc87e238bd5164 /tokio/src/sync/watch.rs
parent7079bcd60975f592e08fcd575991f6ae2a409a1f (diff)
macros: add pin! macro (#2163)
Used for stack pinning and based on `pin_mut!` from the pin-util crate. Pinning is used often when working with stream operators and the select! macro. Given the small size of `pin!` it makes more sense to include a version than re-export one from a separate crate or require the user to depend on `pin-util` themselves.
Diffstat (limited to 'tokio/src/sync/watch.rs')
0 files changed, 0 insertions, 0 deletions