Skip to content

Commit

Permalink
Make well_known_symbols functions pub (#3465)
Browse files Browse the repository at this point in the history
  • Loading branch information
tj825 authored Nov 14, 2023
1 parent 3a4fe6f commit bbde84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit bbde84a

Please sign in to comment.