File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ pub struct BinaryChunk {
197197}
198198
199199impl BinaryChunk {
200+ #[ must_use]
200201 pub fn is_empty ( & self ) -> bool {
201202 self . words . is_empty ( )
202203 }
Original file line number Diff line number Diff line change 11#![ deny( unreachable_pub) ]
22#![ deny( unsafe_code) ]
3+ #![ warn( clippy:: must_use_candidate) ]
34
45mod ast;
56mod collections;
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ fn test_bit_index() {
180180/// 28, when the `☛☛PUNCH` directive includes a start address. This
181181/// may in fact be the case shown in the diagram on [page
182182/// 6-23](https://archive.org/details/tx-2-users-handbook-nov-63/page/n175/mode/1up).
183+ #[ must_use]
183184pub fn reader_leader ( ) -> Vec < Unsigned36Bit > {
184185 ( [
185186 // These instructions are taken from the middle column of
You can’t perform that action at this time.
0 commit comments