aboutsummaryrefslogtreecommitdiff
path: root/src/message.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-13 11:31:19 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-13 11:31:19 +0200
commit2305c2cf03919f074ec92d98cb6593c4ead50c4b (patch)
treeb195029089b9fd407609d47acf2ba4fb42f39901 /src/message.rs
parentf022a77f97c169807ae098e101a29301c0d19fbd (diff)
downloadnetapp-2305c2cf03919f074ec92d98cb6593c4ead50c4b.tar.gz
netapp-2305c2cf03919f074ec92d98cb6593c4ead50c4b.zip
Use BytesMut instead of Vec<u8> in bytes_buf (extend is probably faster)
Diffstat (limited to 'src/message.rs')
-rw-r--r--src/message.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/message.rs b/src/message.rs
index 2b2b75f..cc816c6 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -52,7 +52,6 @@ pub struct OrderTag(pub(crate) u64, pub(crate) u64);
#[derive(Clone, Copy)]
pub struct OrderTagStream(u64);
-
impl OrderTag {
/// Create a new stream from which to generate order tags. Example:
/// ```