Skip to content

Commit

Permalink
Remove useless generic from AllInto
Browse files Browse the repository at this point in the history
  • Loading branch information
tradeJmark committed Sep 2, 2023
1 parent 472a40e commit ae81e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/wghub-rust-web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ pub fn generate_spoke_config_file(config: &SpokeConfigWrapper) -> Blob {
create_spoke_config_file(&config.0).blobbify()
}

trait AllInto<T: Into<R>, R> {
trait AllInto<R> {
fn all_into(self) -> Vec<R>;
}

impl<C, R> AllInto<C::Item, R> for C where
impl<C, R> AllInto<R> for C where
C: IntoIterator,
C::Item: Into<R>
{
Expand Down

0 comments on commit ae81e44

Please sign in to comment.