mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
fix: collect enum, break: Render for Option<&T>
This commit is contained in:
parent
72f47bc837
commit
33bdf65e8d
8 changed files with 37 additions and 33 deletions
|
|
@ -44,9 +44,8 @@ impl LV2Plugin {
|
|||
let features = FeaturesBuilder { min_block_length: 1, max_block_length: 65536 };
|
||||
let features = world.build_features(features);
|
||||
let mut plugin = None;
|
||||
for p in world.iter_plugins() {
|
||||
if let Some(p) = world.iter_plugins().next() {
|
||||
plugin = Some(p);
|
||||
break
|
||||
}
|
||||
let plugin = plugin.unwrap();
|
||||
let err = &format!("init {uri}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue