Skip to content

Commit

Permalink
build: parser: Fix NAck decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin authored and patrickelectric committed Jul 29, 2024
1 parent 871cb20 commit 35a8a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl MessageDefinition {
} else {
let length = self.payload.len();
let field_token = quote! {
#name: String::from_utf8(payload[#b..#b + payload.len()].to_vec()).unwrap(),
#name: String::from_utf8(payload[#b..payload.len()].to_vec()).unwrap(),
};
b += length;
field_token
Expand Down

0 comments on commit 35a8a09

Please sign in to comment.