From a7ffa00ae939bfc32e416bff1250b0c52505bdbf Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 25 Sep 2023 21:13:40 +0200 Subject: [PATCH] fix: add 'static lifetime (#3297) --- boa_engine/src/builtins/generator/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/src/builtins/generator/mod.rs b/boa_engine/src/builtins/generator/mod.rs index d877caea7f..f2e4c9cf7b 100644 --- a/boa_engine/src/builtins/generator/mod.rs +++ b/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 )` ///