From b14c8bdc0903648efc34c4b69a619f2a3e691a66 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 29 Dec 2023 14:32:43 +0000 Subject: [PATCH] Fixed a typo in wire type enum docs where 32 bit was wrongly copied --- protobuf/src/wire_format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/src/wire_format.rs b/protobuf/src/wire_format.rs index 9e4b70394..9cbbf5549 100644 --- a/protobuf/src/wire_format.rs +++ b/protobuf/src/wire_format.rs @@ -31,7 +31,7 @@ pub(crate) fn check_message_size(size: u64) -> crate::Result { pub enum WireType { /// Variable-length integer Varint = 0, - /// 32-bit field (e. g. `fixed64` or `double`) + /// 64-bit field (e. g. `fixed64` or `double`) Fixed64 = 1, /// Length-delimited field LengthDelimited = 2,