Skip to content

Commit

Permalink
Remove unused SendError.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 5, 2022
1 parent 892b759 commit 29a46bd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/yew/src/platform/pinned/oneshot.rs
Expand Up @@ -7,14 +7,6 @@ use std::task::{Poll, Waker};

use thiserror::Error;

/// Error returned by [`send`](Sender::send).
#[derive(Debug, Error)]
#[error("channel has been closed.")]
pub struct SendError<T> {
/// The inner value.
pub inner: T,
}

/// Error returned by awaiting the [`Receiver`].
#[derive(Debug, Error)]
#[error("channel has been closed.")]
Expand Down

0 comments on commit 29a46bd

Please sign in to comment.