Skip to content

Commit

Permalink
Add debug impl for type emitted by stream_select!
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Jun 23, 2021
1 parent 8770cad commit f5e362c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions futures-macro/src/stream_select.rs
Expand Up @@ -11,6 +11,7 @@ pub(crate) fn stream_select(input: TokenStream) -> TokenStream {

TokenStream::from(quote! {
{
#[derive(Debug)]
struct StreamSelect<#(#generic_idents),*> (#(#generic_idents),*);

enum StreamFutures<#(#generic_idents),*> {
Expand Down

0 comments on commit f5e362c

Please sign in to comment.