mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-16 14:31:22 +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,8 +1807,8 @@ impl<'a, 'b> SubContext<'a, 'b> {
|
||||
let target = if let Some(g) = getter {
|
||||
if import.structural {
|
||||
format!(
|
||||
"function(y) {{
|
||||
return this.{};
|
||||
"function() {{
|
||||
return this.{};
|
||||
}}",
|
||||
g
|
||||
)
|
||||
|
Reference in New Issue
Block a user