Skip to content

Commit 9795c78

Browse files
committed
style: run cargo fmt
1 parent baeddaa commit 9795c78

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

core/engine/src/builtins/array/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,9 @@ impl Array {
21892189

21902190
// Ask ICU for the list pattern literal by formatting two empty elements.
21912191
// For many locales this yields ", ", but it may differ.
2192-
js_string!(formatter.format_to_string(std::iter::once("").chain(std::iter::once(""))))
2192+
js_string!(
2193+
formatter.format_to_string(std::iter::once("").chain(std::iter::once("")))
2194+
)
21932195
}
21942196

21952197
#[cfg(not(feature = "intl"))]

core/engine/src/builtins/typed_array/builtin.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,9 @@ impl BuiltinTypedArray {
25152515

25162516
// Ask ICU for the list pattern literal by formatting two empty elements.
25172517
// For many locales this yields ", ", but it may differ.
2518-
js_string!(formatter.format_to_string(std::iter::once("").chain(std::iter::once(""))))
2518+
js_string!(
2519+
formatter.format_to_string(std::iter::once("").chain(std::iter::once("")))
2520+
)
25192521
}
25202522

25212523
#[cfg(not(feature = "intl"))]

0 commit comments

Comments
 (0)