mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-02 21:38:42 +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
1 changed files with 2 additions and 2 deletions
|
@ -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