Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed May 23, 2024
1 parent c8ccd09 commit 884759d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/levels/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl LevelManifest {
.map(|_| Level::default())
.collect::<Vec<_>>();

let mut levels = Self {
let levels = Self {
path: path.as_ref().to_path_buf(),
levels,
hidden_set: HashSet::with_capacity(10),
Expand Down
1 change: 1 addition & 0 deletions src/segment/block_index/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ impl BlockIndex {

/// Returns the last index_block handle
#[must_use]
#[allow(clippy::doc_markdown)]
pub fn get_last_index_block_handle(&self) -> &KeyedBlockHandle {
self.top_level_index.get_last_block_handle()
}
Expand Down

0 comments on commit 884759d

Please sign in to comment.