diff options
| author | Gil Shoshan <shoshan.gil@gmail.com> | 2023-05-03 15:47:11 +0300 |
|---|---|---|
| committer | Gil Shoshan <shoshan.gil@gmail.com> | 2023-05-03 15:47:11 +0300 |
| commit | af5de855a33256ea6125f5654296698e507f86e0 (patch) | |
| tree | cb8950ca36a4ea8b701d87331fe2ae3a270b494a /library/std/src/sync/mpmc | |
| parent | 82cd953c7c43e64dae6f705ce2f07b291f0e22e3 (diff) | |
| download | rust-af5de855a33256ea6125f5654296698e507f86e0.tar.gz rust-af5de855a33256ea6125f5654296698e507f86e0.zip | |
Remove unnecessary Send bound
Diffstat (limited to 'library/std/src/sync/mpmc')
| -rw-r--r-- | library/std/src/sync/mpmc/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/mpmc/error.rs b/library/std/src/sync/mpmc/error.rs index 1b8a1f38797..33b2bff8534 100644 --- a/library/std/src/sync/mpmc/error.rs +++ b/library/std/src/sync/mpmc/error.rs @@ -35,7 +35,7 @@ impl<T> fmt::Display for SendTimeoutError<T> { } } -impl<T: Send> error::Error for SendTimeoutError<T> {} +impl<T> error::Error for SendTimeoutError<T> {} impl<T> From<SendError<T>> for SendTimeoutError<T> { fn from(err: SendError<T>) -> SendTimeoutError<T> { |
