Skip to content

Commit 741c3ee

Browse files
committed
Fix new clippy lints
1 parent d26a25b commit 741c3ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

binrw_derive/src/binrw/codegen/read_options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl<'input> PreludeGenerator<'input> {
143143
#head
144144
let #POS = #SEEK_TRAIT::stream_position(#reader_var)?;
145145
};
146-
};
146+
}
147147

148148
self
149149
}

binrw_derive/src/binrw/combiner.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ fn apply_temp_crossover_enum(
9696
combine_error(&mut all_errors, error);
9797
}
9898
}
99-
(EnumVariant::Unit(_), EnumVariant::Unit(_)) => continue,
99+
(EnumVariant::Unit(_), EnumVariant::Unit(_)) => {}
100100
_ => unreachable!("read and write input should always be the same kind"),
101-
};
101+
}
102102
}
103103
all_errors
104104
}

0 commit comments

Comments
 (0)