feat(interface-types) Remove the 'input lifetime on Instruction.

This commit is contained in:
Ivan Enderlin
2020-03-10 10:37:09 +01:00
parent 47b63bc9c6
commit 8bd3345a79
6 changed files with 12 additions and 13 deletions

View File

@ -162,7 +162,7 @@ where
/// Encode an `Adapter` into bytes.
///
/// Decoder is in `decoders::binary::adapters`.
impl<W> ToBytes<W> for Adapter<'_>
impl<W> ToBytes<W> for Adapter
where
W: Write,
{
@ -244,7 +244,7 @@ where
/// Encode an `Instruction` into bytes.
///
/// Decoder is `decoders::binary::instruction`.
impl<W> ToBytes<W> for Instruction<'_>
impl<W> ToBytes<W> for Instruction
where
W: Write,
{