diff options
-rw-r--r-- | lib/rs/src/protocol/binary.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rs/src/protocol/binary.rs b/lib/rs/src/protocol/binary.rs index efee8c11b..9f8af430b 100644 --- a/lib/rs/src/protocol/binary.rs +++ b/lib/rs/src/protocol/binary.rs @@ -84,7 +84,7 @@ where // the thrift version header is intentionally negative // so the first check we'll do is see if the sign bit is set // and if so - assume it's the protocol-version header - if ((first_bytes[0] & 0x80) != 0) { + if (first_bytes[0] & 0x80) != 0 { // apparently we got a protocol-version header - check // it, and if it matches, read the rest of the fields if first_bytes[0..2] != [0x80, 0x01] { |