`Repository::all_targets()` cannot actually be used
iliana opened this issue · comments
iliana etaoin commented
https://docs.rs/tough/0.12.5/tough/struct.Repository.html#method.all_targets
Lines 413 to 416 in 86a0b6e
Because the Item
associated type isn't specified, all a caller is able to know is that this return type is an Iterator, but not what it contains.
The return type should match Targets::targets_iter
.