cob: Fix some clippy warnings

This commit is contained in:
cloudhead 2024-01-23 15:50:37 +01:00
parent ae981ded6e
commit 47799cbab2
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -333,13 +333,13 @@ impl Issue {
impl Issue { impl Issue {
/// Apply a single action to the issue. /// Apply a single action to the issue.
fn action<'a, R: ReadRepository>( fn action<R: ReadRepository>(
&mut self, &mut self,
action: Action, action: Action,
entry: EntryId, entry: EntryId,
author: ActorId, author: ActorId,
timestamp: Timestamp, timestamp: Timestamp,
_concurrent: &[&'a cob::Entry], _concurrent: &[&cob::Entry],
_doc: &Doc<Verified>, _doc: &Doc<Verified>,
_repo: &R, _repo: &R,
) -> Result<(), Error> { ) -> Result<(), Error> {

View File

@ -696,13 +696,13 @@ impl Patch {
impl Patch { impl Patch {
/// Apply a single action to the patch. /// Apply a single action to the patch.
fn action<'a, R: ReadRepository>( fn action<R: ReadRepository>(
&mut self, &mut self,
action: Action, action: Action,
entry: EntryId, entry: EntryId,
author: ActorId, author: ActorId,
timestamp: Timestamp, timestamp: Timestamp,
_concurrent: &[&'a cob::Entry], _concurrent: &[&cob::Entry],
identity: &Doc<Verified>, identity: &Doc<Verified>,
repo: &R, repo: &R,
) -> Result<(), Error> { ) -> Result<(), Error> {