mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 17:15:52 +00:00
Fix return type of Cycles::all
This commit is contained in:
parent
2aeb724992
commit
14e304346d
@ -29,7 +29,7 @@ impl Cycles<'_> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Access an iterator over all cycles
|
/// Access an iterator over all cycles
|
||||||
pub fn all(&self) -> impl Iterator<Item = Storage<Cycle>> + '_ {
|
pub fn all(&self) -> impl Iterator<Item = Handle<Cycle>> + '_ {
|
||||||
self.cycles.iter().cloned()
|
self.cycles.iter().map(|storage| storage.handle())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user