mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 15:50:38 +08:00
cob: Fix some clippy warnings
This commit is contained in:
@@ -333,13 +333,13 @@ impl Issue {
|
||||
|
||||
impl Issue {
|
||||
/// Apply a single action to the issue.
|
||||
fn action<'a, R: ReadRepository>(
|
||||
fn action<R: ReadRepository>(
|
||||
&mut self,
|
||||
action: Action,
|
||||
entry: EntryId,
|
||||
author: ActorId,
|
||||
timestamp: Timestamp,
|
||||
_concurrent: &[&'a cob::Entry],
|
||||
_concurrent: &[&cob::Entry],
|
||||
_doc: &Doc<Verified>,
|
||||
_repo: &R,
|
||||
) -> Result<(), Error> {
|
||||
|
||||
@@ -696,13 +696,13 @@ impl Patch {
|
||||
|
||||
impl Patch {
|
||||
/// Apply a single action to the patch.
|
||||
fn action<'a, R: ReadRepository>(
|
||||
fn action<R: ReadRepository>(
|
||||
&mut self,
|
||||
action: Action,
|
||||
entry: EntryId,
|
||||
author: ActorId,
|
||||
timestamp: Timestamp,
|
||||
_concurrent: &[&'a cob::Entry],
|
||||
_concurrent: &[&cob::Entry],
|
||||
identity: &Doc<Verified>,
|
||||
repo: &R,
|
||||
) -> Result<(), Error> {
|
||||
|
||||
Reference in New Issue
Block a user