cob: Fix some clippy warnings
This commit is contained in:
parent
ae981ded6e
commit
47799cbab2
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue