This commit is contained in:
Joshua Barretto
2021-03-05 01:23:11 +00:00
parent 02d86f0fb0
commit 862cd5fe49
27 changed files with 800 additions and 939 deletions

View File

@ -33,12 +33,10 @@ impl<T> FromIterator<T> for Path<T> {
}
impl<T> IntoIterator for Path<T> {
type Item = T;
type IntoIter = std::vec::IntoIter<T>;
type Item = T;
fn into_iter(self) -> Self::IntoIter {
self.nodes.into_iter()
}
fn into_iter(self) -> Self::IntoIter { self.nodes.into_iter() }
}
impl<T> Path<T> {