Browse Source

fix: add 'static lifetime (#3297)

pull/3309/head
Matthias Seitz 1 year ago committed by GitHub
parent
commit
a7ffa00ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa_engine/src/builtins/generator/mod.rs

2
boa_engine/src/builtins/generator/mod.rs

@ -172,7 +172,7 @@ impl IntrinsicObject for Generator {
}
impl Generator {
const NAME: &str = "Generator";
const NAME: &'static str = "Generator";
/// `Generator.prototype.next ( value )`
///

Loading…
Cancel
Save