aboutsummaryrefslogtreecommitdiff
path: root/src/proto.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-12 13:07:34 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-12 13:07:34 +0200
commit7753b789b7aca87db4db7aed20e79a41ecb0b225 (patch)
treef5b67a3d52736eb60d88cdd8772957ada62654fb /src/proto.rs
parent90f8fb28361cba1087a0e608e8a8deb6abb5bd39 (diff)
downloadnetapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.tar.gz
netapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.zip
Upgrade to tokio 1.0
Diffstat (limited to 'src/proto.rs')
-rw-r--r--src/proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto.rs b/src/proto.rs
index 7b8aa4b..bfef8e7 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -36,7 +36,7 @@ pub const PRIO_NORMAL: RequestPriority = 0x40;
pub const PRIO_BACKGROUND: RequestPriority = 0x80;
/// Priority: primary among given class
pub const PRIO_PRIMARY: RequestPriority = 0x00;
-/// Priority: secondary among given class (ex: `PRIO_HIGH || PRIO_SECONDARY`)
+/// Priority: secondary among given class (ex: `PRIO_HIGH | PRIO_SECONDARY`)
pub const PRIO_SECONDARY: RequestPriority = 0x01;
const MAX_CHUNK_SIZE: usize = 0x4000;