Add a TODO about an unslightly type.

This commit is contained in:
Nick Mathewson 2022-03-29 08:20:53 -04:00
parent 82ea251f3c
commit 16ce29ef59
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ pub struct GuardUsable {
///
/// If absent, then the guard is ready immediately and no waiting
/// is needed.
//
// TODO: use a type that makes the case here more distinguishable.
#[pin]
u: Option<oneshot::Receiver<bool>>,
}