radicle: Remove redundant map in issue cob
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
parent
fb8020e582
commit
d4d40b1492
|
|
@ -152,7 +152,7 @@ impl Issue {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn comments(&self) -> impl Iterator<Item = (&CommentId, &thread::Comment)> {
|
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> {
|
pub fn apply(&mut self, ops: impl IntoIterator<Item = Op>) -> Result<(), Error> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue