Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fix(serialization): revert 2076d12 which inlined generated serde code
Browse files Browse the repository at this point in the history
  • Loading branch information
landaire committed Jun 18, 2020
1 parent bf7ed1e commit 917c1ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lain_derive/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub fn expand_binary_serialize(input: &syn::DeriveInput) -> Result<TokenStream,
#[allow(unknown_lints)]
#[automatically_derived]
impl #impl_generics #lain::traits::BinarySerialize for #ident #ty_generics #where_clause {
#[inline(always)]
fn binary_serialize<W: std::io::Write, E: #lain::byteorder::ByteOrder>(&self, buffer: &mut W) -> usize {
use #lain::traits::SerializedSize;
use #lain::byteorder::{LittleEndian, BigEndian, WriteBytesExt};
Expand Down

0 comments on commit 917c1ba

Please sign in to comment.