Skip to content

Commit

Permalink
Add missing const keyword
Browse files Browse the repository at this point in the history
Signed-off-by: MTRNord <[email protected]>
  • Loading branch information
MTRNord committed Aug 7, 2024
1 parent 911b594 commit c890027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/olm/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl ChainStore {
}

#[cfg(test)]
pub fn len(&self) -> usize {
pub const fn len(&self) -> usize {
self.inner.len()
}

Expand Down

0 comments on commit c890027

Please sign in to comment.