Skip to content

Commit

Permalink
clippy::redundant-guards
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Sep 29, 2023
1 parent cb1b21e commit b0a0103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/nymsphinx/chunking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn number_of_required_fragments(
let max_linked = linked_fragment_payload_max_len(plaintext_per_fragment);

match set::total_number_of_sets(message_len, plaintext_per_fragment) {
n if n == 1 => {
1 => {
// is if it's a single fragment message
if message_len < max_unlinked {
return (1, max_unlinked - message_len);
Expand Down

0 comments on commit b0a0103

Please sign in to comment.