mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
style: 自动格式化
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/// 复合区域映射条目:区域码、默认映射、按「语言[-脚本]」键选择的覆盖表。
|
||||
type ComplexRegionMapping = (&'static str, &'static str, &'static [(&'static str, &'static str)]);
|
||||
|
||||
|
||||
@@ -154,12 +154,7 @@ pub fn bind_intl(env: BindEnv<'_>, global: &mut JsObject) {
|
||||
/// 安装一组 Intl 构造器/原型对:构造器 native 函数与 `length`、
|
||||
/// `supportedLocalesOf` 静态方法、原型 `@@toStringTag`。
|
||||
fn bind_intl_ctor_pair(
|
||||
env: BindEnv<'_>,
|
||||
ctor: &mut JsObject,
|
||||
proto: &mut JsObject,
|
||||
ctor_fn: *const (),
|
||||
length: u32,
|
||||
tag: &str,
|
||||
env: BindEnv<'_>, ctor: &mut JsObject, proto: &mut JsObject, ctor_fn: *const (), length: u32, tag: &str,
|
||||
) {
|
||||
// 构造器:length 槽的 native 函数;`prototype`/`name` 槽由内核接线
|
||||
// 预置(wire_ctor_proto / make_pair),此处不重复建槽。
|
||||
|
||||
Reference in New Issue
Block a user