From 4fc768df36e53d1c9f42db6b3ea52af45a3dc129 Mon Sep 17 00:00:00 2001 From: Peter Huene Date: Fri, 17 Feb 2023 07:08:54 -0800 Subject: [PATCH] Fix incorrect shadowing of `world` option in component bindgen macro options. (#5813) --- crates/component-macro/src/bindgen.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/component-macro/src/bindgen.rs b/crates/component-macro/src/bindgen.rs index c96e55e54bd4..bb82b1750a0b 100644 --- a/crates/component-macro/src/bindgen.rs +++ b/crates/component-macro/src/bindgen.rs @@ -53,7 +53,6 @@ impl Parse for Config { let content; syn::braced!(content in input); let fields = Punctuated::::parse_terminated(&content)?; - let mut world = None; for field in fields.into_pairs() { match field.into_value() { Opt::Path(s) => {