Skip to content

Commit

Permalink
fix: add 'static lifetime (#3297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Sep 25, 2023
1 parent fd2e558 commit a7ffa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/builtins/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl IntrinsicObject for Generator {
}

impl Generator {
const NAME: &str = "Generator";
const NAME: &'static str = "Generator";

/// `Generator.prototype.next ( value )`
///
Expand Down

0 comments on commit a7ffa00

Please sign in to comment.