From 6b2d32f097630e8bb1a58842edf2c60733d74cc5 Mon Sep 17 00:00:00 2001 From: Tom Jack Date: Tue, 14 Nov 2023 16:37:50 +0000 Subject: [PATCH] Make well_known_symbols functions pub --- boa_engine/src/symbol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/src/symbol.rs b/boa_engine/src/symbol.rs index c7e33f9b44e..d6a6b6c180e 100644 --- a/boa_engine/src/symbol.rs +++ b/boa_engine/src/symbol.rs @@ -151,7 +151,7 @@ unsafe impl Trace for JsSymbol { macro_rules! well_known_symbols { ( $( $(#[$attr:meta])* ($name:ident, $variant:path) ),+$(,)? ) => { $( - $(#[$attr])* pub(crate) const fn $name() -> JsSymbol { + $(#[$attr])* pub const fn $name() -> JsSymbol { JsSymbol { // the cast shouldn't matter since we only have 127 const symbols repr: Tagged::from_tag($variant.hash() as usize),