mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-21 00:36:33 +00:00
Fix a stray unused variable
Travis tests show hundreds of warning for `'y' is defined but never used` and
when investigating it looks like a mistake was introduced in 0938858aa
during #272, so hopefully this'll be an easy fix!
This commit is contained in:
@ -1807,7 +1807,7 @@ impl<'a, 'b> SubContext<'a, 'b> {
|
|||||||
let target = if let Some(g) = getter {
|
let target = if let Some(g) = getter {
|
||||||
if import.structural {
|
if import.structural {
|
||||||
format!(
|
format!(
|
||||||
"function(y) {{
|
"function() {{
|
||||||
return this.{};
|
return this.{};
|
||||||
}}",
|
}}",
|
||||||
g
|
g
|
||||||
|
Reference in New Issue
Block a user