Shorten iterator hints for std::iter iterators behind references

This commit is contained in:
Lukas Wirth
2020-10-07 12:13:32 +02:00
parent 209e9b9926
commit e106857e80
2 changed files with 5 additions and 3 deletions

View File

@@ -308,7 +308,7 @@ pub mod iter {
}
}
}
pub(crate) mod collect {
pub(crate) mod collect {
pub trait IntoIterator {
type Item;
}