Skip to content

Commit

Permalink
Fix incorrect shadowing of world option in component bindgen macro …
Browse files Browse the repository at this point in the history
…options. (#5813)
  • Loading branch information
peterhuene authored Feb 17, 2023
1 parent c8fa1b8 commit 4fc768d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/component-macro/src/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ impl Parse for Config {
let content;
syn::braced!(content in input);
let fields = Punctuated::<Opt, Token![,]>::parse_terminated(&content)?;
let mut world = None;
for field in fields.into_pairs() {
match field.into_value() {
Opt::Path(s) => {
Expand Down

0 comments on commit 4fc768d

Please sign in to comment.