Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed May 15, 2024
1 parent 1cdd728 commit 3030ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grovedb/src/replication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct SubtreeStateSyncInfo<'db> {

impl<'a> SubtreeStateSyncInfo<'a> {
// Function to create an instance of SubtreeStateSyncInfo with default values
fn new() -> Self {
pub fn new() -> Self {

Check warning on line 37 in grovedb/src/replication.rs

View workflow job for this annotation

GitHub Actions / clippy

associated function `new` is never used

warning: associated function `new` is never used --> grovedb/src/replication.rs:37:12 | 35 | impl<'a> SubtreeStateSyncInfo<'a> { | --------------------------------- associated function in this implementation 36 | // Function to create an instance of SubtreeStateSyncInfo with default values 37 | pub fn new() -> Self { | ^^^
Self::default()
}
}
Expand Down

0 comments on commit 3030ff6

Please sign in to comment.