mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +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:
parent
2694dd4dee
commit
3510b20595
@ -1807,8 +1807,8 @@ 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
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user