radicle: Remove redundant map in issue cob

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex 2022-12-08 19:29:15 +00:00 committed by Alexis Sellier
parent fb8020e582
commit d4d40b1492
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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> {