mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 16:40:19 +00:00
Misc. small tweaks from perusing modules (#9383)
This commit is contained in:
parent
7b6baff734
commit
0e202718fd
4 changed files with 10 additions and 5 deletions
|
@ -265,8 +265,8 @@ impl<'a> Deref for Definitions<'a> {
|
|||
}
|
||||
|
||||
impl<'a> IntoIterator for Definitions<'a> {
|
||||
type IntoIter = std::vec::IntoIter<Self::Item>;
|
||||
type Item = Definition<'a>;
|
||||
type IntoIter = std::vec::IntoIter<Self::Item>;
|
||||
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
self.0.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue