Remove emit_unit
It doesn't do anything for all encoders
This commit is contained in:
parent
22e8d5f80e
commit
7381ea019c
8 changed files with 12 additions and 33 deletions
|
@ -993,11 +993,6 @@ where
|
|||
{
|
||||
type Error = E::Error;
|
||||
|
||||
#[inline]
|
||||
fn emit_unit(&mut self) -> Result<(), Self::Error> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
encoder_methods! {
|
||||
emit_usize(usize);
|
||||
emit_u128(u128);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue