radicle: Remove unnecessary clone()

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2025-08-21 13:40:56 +02:00 committed by Lorenz Leutgeb
parent 29a95fb1a6
commit 23b9d30639
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ impl Config {
}
pub fn peers(&self) -> impl Iterator<Item = NodeId> + '_ {
self.connect.iter().cloned().map(|p| p.id)
self.connect.iter().map(|p| p.0.id)
}
pub fn is_persistent(&self, id: &NodeId) -> bool {