From 47799cbab2eca047b6520b9fce805da42b49ecab Mon Sep 17 00:00:00 2001 From: cloudhead Date: Tue, 23 Jan 2024 15:50:37 +0100 Subject: [PATCH] cob: Fix some clippy warnings --- radicle/src/cob/issue.rs | 4 ++-- radicle/src/cob/patch.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/radicle/src/cob/issue.rs b/radicle/src/cob/issue.rs index af349e03..5058fa84 100644 --- a/radicle/src/cob/issue.rs +++ b/radicle/src/cob/issue.rs @@ -333,13 +333,13 @@ impl Issue { impl Issue { /// Apply a single action to the issue. - fn action<'a, R: ReadRepository>( + fn action( &mut self, action: Action, entry: EntryId, author: ActorId, timestamp: Timestamp, - _concurrent: &[&'a cob::Entry], + _concurrent: &[&cob::Entry], _doc: &Doc, _repo: &R, ) -> Result<(), Error> { diff --git a/radicle/src/cob/patch.rs b/radicle/src/cob/patch.rs index 689f1bd0..d6983af2 100644 --- a/radicle/src/cob/patch.rs +++ b/radicle/src/cob/patch.rs @@ -696,13 +696,13 @@ impl Patch { impl Patch { /// Apply a single action to the patch. - fn action<'a, R: ReadRepository>( + fn action( &mut self, action: Action, entry: EntryId, author: ActorId, timestamp: Timestamp, - _concurrent: &[&'a cob::Entry], + _concurrent: &[&cob::Entry], identity: &Doc, repo: &R, ) -> Result<(), Error> {