Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Remove redundant map in issue cob
xphoniex committed 3 years ago
commit d4d40b14922d93067012110d8d42357462bbb129
parent fb8020e58255042acc348ce769257e63c88afb0b
1 file changed +1 -1
modified radicle/src/cob/issue.rs
@@ -152,7 +152,7 @@ impl Issue {
    }

    pub fn comments(&self) -> impl Iterator<Item = (&CommentId, &thread::Comment)> {
-
        self.thread.comments().map(|(id, comment)| (id, comment))
+
        self.thread.comments()
    }

    pub fn apply(&mut self, ops: impl IntoIterator<Item = Op>) -> Result<(), Error> {