Skip to content

Commit

Permalink
fix: not returning the result of a let binding from a block
Browse files Browse the repository at this point in the history
  • Loading branch information
situ2001 authored and bluejekyll committed Mar 2, 2024
1 parent 92ff81c commit 966bc27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/proto/src/op/message.rs
Expand Up @@ -1259,9 +1259,8 @@ mod tests {
}

let mut decoder = BinDecoder::new(&byte_vec);
let got = Message::read(&mut decoder).unwrap();

got

Message::read(&mut decoder).unwrap()
}

#[test]
Expand Down

0 comments on commit 966bc27

Please sign in to comment.