Skip to content

Commit da1c4fe

Browse files
Fix Clippy
1 parent 7c7605b commit da1c4fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/cardano-blockchain-types/src/multi_era_block_data.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ impl MultiEraBlock {
294294
}
295295

296296
/// Returns a slot of the block.
297+
#[must_use]
297298
pub fn slot(&self) -> Slot {
298299
self.decode().slot().into()
299300
}

0 commit comments

Comments
 (0)