Browse Source

cloning packets is helpful

pull/3/head
Jake Probst 6 years ago
parent
commit
7ae27273b4
  1. 3
      psopacket/src/lib.rs

3
psopacket/src/lib.rs

@ -1,4 +1,4 @@
#![recursion_limit="128"]
#![recursion_limit="256"]
extern crate proc_macro; extern crate proc_macro;
@ -276,6 +276,7 @@ pub fn pso_packet(attr: TokenStream, item: TokenStream) -> TokenStream {
}; };
let q = quote! { let q = quote! {
#[derive(Clone)]
#parsed #parsed
#psopacket #psopacket
#psopacket_debug #psopacket_debug

Loading…
Cancel
Save