Skip to content

Commit

Permalink
Remove unnecessary bounds from BinWrite for PhantomData impl
Browse files Browse the repository at this point in the history
  • Loading branch information
DCNick3 authored and jam1garner committed Oct 20, 2023
1 parent 74af48c commit 21eb49b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binrw/src/binwrite/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ impl<T: BinWrite> BinWrite for Option<T> {
}
}

impl<T: BinWrite> BinWrite for PhantomData<T> {
type Args<'a> = T::Args<'a>;
impl<T> BinWrite for PhantomData<T> {
type Args<'a> = ();

fn write_options<W: Write + Seek>(
&self,
Expand Down

0 comments on commit 21eb49b

Please sign in to comment.