Skip to content

Commit

Permalink
[must_use] attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed May 19, 2024
1 parent c798521 commit 28266d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipa-core/src/test_fixture/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ impl<S: ShardingScheme> TestWorld<S> {
self.gate_vendor.current()
}

#[must_use]
fn next_gate(&self) -> Gate {
self.gate_vendor.next()
}
Expand Down

0 comments on commit 28266d2

Please sign in to comment.