clippy
This commit is contained in:
parent
16aa763845
commit
b1bb2ef8ca
@ -55,7 +55,7 @@ fn main() {
|
||||
|
||||
source_versions
|
||||
.entry(version.source_package())
|
||||
.or_insert_with(|| HashSet::new())
|
||||
.or_insert_with(HashSet::new)
|
||||
.insert(version.source_version());
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ impl<R> CIterator<R>
|
||||
where
|
||||
R: RawIterator,
|
||||
{
|
||||
pub fn next<'i>(&mut self) -> Option<Borrowed<R>> {
|
||||
pub fn next(&mut self) -> Option<Borrowed<R>> {
|
||||
if self.raw.is_end() {
|
||||
return None;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user