Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Feb 7, 2024
1 parent 239f96a commit b29fad1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn bounded<T>(cap: usize) -> (Sender<T>, Receiver<T>) {
let r = Receiver {
listener: None,
channel,
_pin: PhantomPinned
_pin: PhantomPinned,
};
(s, r)
}
Expand Down Expand Up @@ -177,7 +177,7 @@ pub fn unbounded<T>() -> (Sender<T>, Receiver<T>) {
let r = Receiver {
listener: None,
channel,
_pin: PhantomPinned
_pin: PhantomPinned,
};
(s, r)
}
Expand Down Expand Up @@ -252,7 +252,7 @@ impl<T> Sender<T> {
sender: self,
msg: Some(msg),
listener: None,
_pin: PhantomPinned
_pin: PhantomPinned,
})
}

Expand Down Expand Up @@ -576,7 +576,7 @@ impl<T> Receiver<T> {
Recv::_new(RecvInner {
receiver: self,
listener: None,
_pin: PhantomPinned
_pin: PhantomPinned,
})
}

Expand Down Expand Up @@ -797,7 +797,7 @@ impl<T> Clone for Receiver<T> {
Receiver {
channel: self.channel.clone(),
listener: None,
_pin: PhantomPinned
_pin: PhantomPinned,
}
}
}
Expand Down Expand Up @@ -926,7 +926,7 @@ impl<T> WeakReceiver<T> {
Ok(_) => Some(Receiver {
channel: self.channel.clone(),
listener: None,
_pin: PhantomPinned
_pin: PhantomPinned,
}),
}
}
Expand Down

0 comments on commit b29fad1

Please sign in to comment.