forked from mirrors/gstreamer-rs
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