mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-31 07:31:01 +00:00
impl Copy for Event (it is a slice, just a ptr and len)
This commit is contained in:
parent
8828074e7c
commit
acbe1132c7
@ -21,7 +21,7 @@ use json_event::parse_json_event;
|
||||
* 144+T+4+C <--- beginning of region beyond the event
|
||||
*/
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub struct Event<'a>(&'a [u8]);
|
||||
|
||||
impl<'a> Event<'a> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user