From dd9757e3718d4330fc430b5d222fb9da9f503e40 Mon Sep 17 00:00:00 2001 From: CrazyboyQCD Date: Wed, 6 Nov 2024 17:55:33 +0800 Subject: [PATCH] chore: import `js_str` from crate --- core/engine/src/builtins/string/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/engine/src/builtins/string/mod.rs b/core/engine/src/builtins/string/mod.rs index c51d44751ec..b3c127b734a 100644 --- a/core/engine/src/builtins/string/mod.rs +++ b/core/engine/src/builtins/string/mod.rs @@ -13,7 +13,7 @@ use crate::{ builtins::{Array, BuiltInObject, Number, RegExp}, context::intrinsics::{Intrinsics, StandardConstructor, StandardConstructors}, error::JsNativeError, - js_string, + js_str, js_string, object::{internal_methods::get_prototype_from_constructor, JsObject}, property::{Attribute, PropertyDescriptor}, realm::Realm, @@ -22,7 +22,7 @@ use crate::{ value::IntegerOrInfinity, Context, JsArgs, JsResult, JsString, JsValue, }; -use boa_macros::{js_str, utf16}; +use boa_macros::utf16; use boa_profiler::Profiler; use icu_normalizer::{ComposingNormalizer, DecomposingNormalizer}; use std::cmp::{max, min};