Skip to content

Commit 122ecc6

Browse files
lint
1 parent 1f947d1 commit 122ecc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

consensus/src/marshal/core/actor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ impl ApplicationFloor {
9090
}
9191
}
9292

93-
fn round_restore_height(self) -> Height {
93+
const fn round_restore_height(self) -> Height {
9494
match self {
9595
Self::BeforeGenesis => Height::zero(),
9696
Self::Acknowledged(height) => height.next(),
9797
}
9898
}
9999

100-
fn next_dispatch_height(self) -> Height {
100+
const fn next_dispatch_height(self) -> Height {
101101
match self {
102102
Self::BeforeGenesis => Height::zero(),
103103
Self::Acknowledged(height) => height.next(),

0 commit comments

Comments
 (0)