mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-02 12:20:00 +00:00
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:
parent
66069bcfa5
commit
c68df282e8
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue