Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cob: Fix some clippy warnings
cloudhead committed 2 years ago
commit 47799cbab2eca047b6520b9fce805da42b49ecab
parent ae981ded6ed2ed2cdba34c8603714782667f18a3
2 files changed +4 -4
modified 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<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> {
modified 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<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> {