From d4d40b14922d93067012110d8d42357462bbb129 Mon Sep 17 00:00:00 2001 From: xphoniex Date: Thu, 8 Dec 2022 19:29:15 +0000 Subject: [PATCH] radicle: Remove redundant map in issue cob Signed-off-by: xphoniex --- radicle/src/cob/issue.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle/src/cob/issue.rs b/radicle/src/cob/issue.rs index 3c875e14..93fe586c 100644 --- a/radicle/src/cob/issue.rs +++ b/radicle/src/cob/issue.rs @@ -152,7 +152,7 @@ impl Issue { } pub fn comments(&self) -> impl Iterator { - self.thread.comments().map(|(id, comment)| (id, comment)) + self.thread.comments() } pub fn apply(&mut self, ops: impl IntoIterator) -> Result<(), Error> {