Skip to content

Commit

Permalink
Remove unneeded into
Browse files Browse the repository at this point in the history
  • Loading branch information
lrazovic authored and erickt committed Sep 2, 2021
1 parent 1f86793 commit 1e71aa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions argh_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ fn impl_from_args_struct(
#top_or_sub_cmd_impl
};

trait_impl.into()
trait_impl
}

fn impl_from_args_struct_from_args<'a>(
Expand Down Expand Up @@ -362,7 +362,7 @@ fn impl_from_args_struct_from_args<'a>(
}
};

method_impl.into()
method_impl
}

fn impl_from_args_struct_redact_arg_values<'a>(
Expand Down Expand Up @@ -476,7 +476,7 @@ fn impl_from_args_struct_redact_arg_values<'a>(
}
};

method_impl.into()
method_impl
}

/// Ensures that only the last positional arg is non-required.
Expand Down

0 comments on commit 1e71aa1

Please sign in to comment.