This commit is contained in:
Carl
2019-03-10 17:33:01 -07:00
committed by Pankaj Garg
parent ccd1173a83
commit 3ddf4b6c24
5 changed files with 10 additions and 14 deletions

View File

@@ -44,7 +44,7 @@ pub struct Packet {
impl Packet {
pub fn new(data: [u8; PACKET_DATA_SIZE], meta: Meta) -> Self {
Packet { data, meta }
Self { data, meta }
}
}