gstreamer/caps: Fix clippy warning

No need to provide the field name if it's initialized with a variable of
the same name.
This commit is contained in:
Sebastian Dröge 2020-06-21 18:27:39 +03:00
parent 66069bcfa5
commit c68df282e8

View file

@ -441,9 +441,9 @@ macro_rules! define_iter(
let n_structures = caps.get_size();
$name {
caps: caps,
caps,
idx: 0,
n_structures: n_structures,
n_structures,
}
}
}