Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
madadam committed Nov 1, 2023
1 parent 6fbfec4 commit 177e4e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/directory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,7 @@ impl Directory {
/// Returns the parent directory and entry name (unless root) and the current and initial
/// version vectors of this directory (initial version vector is the version vector this
/// directory had when it was initially created).
async fn prepare_fork<'a>(
&'a self,
) -> Result<(Option<(Self, &'a str)>, VersionVector, VersionVector)> {
async fn prepare_fork(&self) -> Result<(Option<(Self, &str)>, VersionVector, VersionVector)> {
// Running this in a read transaction to make sure the version vector of this directory
// and the version vectors of its entries are in sync.
let mut tx = self.branch().store().begin_read().await?;
Expand Down

0 comments on commit 177e4e1

Please sign in to comment.