rustfmt
This commit is contained in:
parent
8bb1fe1f65
commit
c0d91600ea
1 changed files with 3 additions and 7 deletions
|
@ -263,12 +263,9 @@ impl<'ch, T> Future for DynamicReceiveFuture<'ch, T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'ch, M: RawMutex, T, const N: usize> From<ReceiveFuture<'ch, M, T, N>> for DynamicReceiveFuture<'ch, T>
|
impl<'ch, M: RawMutex, T, const N: usize> From<ReceiveFuture<'ch, M, T, N>> for DynamicReceiveFuture<'ch, T> {
|
||||||
{
|
|
||||||
fn from(value: ReceiveFuture<'ch, M, T, N>) -> Self {
|
fn from(value: ReceiveFuture<'ch, M, T, N>) -> Self {
|
||||||
Self {
|
Self { channel: value.channel }
|
||||||
channel: value.channel,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,8 +327,7 @@ impl<'ch, T> Future for DynamicSendFuture<'ch, T> {
|
||||||
|
|
||||||
impl<'ch, T> Unpin for DynamicSendFuture<'ch, T> {}
|
impl<'ch, T> Unpin for DynamicSendFuture<'ch, T> {}
|
||||||
|
|
||||||
impl<'ch, M: RawMutex, T, const N: usize> From<SendFuture<'ch, M, T, N>> for DynamicSendFuture<'ch, T>
|
impl<'ch, M: RawMutex, T, const N: usize> From<SendFuture<'ch, M, T, N>> for DynamicSendFuture<'ch, T> {
|
||||||
{
|
|
||||||
fn from(value: SendFuture<'ch, M, T, N>) -> Self {
|
fn from(value: SendFuture<'ch, M, T, N>) -> Self {
|
||||||
Self {
|
Self {
|
||||||
channel: value.channel,
|
channel: value.channel,
|
||||||
|
|
Loading…
Reference in a new issue