Skip to content

Commit 8318ce2

Browse files
Auto-format: cargo fmt --all
1 parent 4cce6e0 commit 8318ce2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/stdlib/src/unicodedata.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,7 @@ mod unicodedata {
246246
if chars.len() == 1 && chars[0] == ch {
247247
return Ok(String::new());
248248
}
249-
let hex_parts = chars
250-
.iter()
251-
.map(|c| format!("{:04X}", *c as u32))
252-
.join(" ");
249+
let hex_parts = chars.iter().map(|c| format!("{:04X}", *c as u32)).join(" ");
253250
let tag = match ch.decomposition_type() {
254251
Some(DecompositionType::Canonical) | None => return Ok(hex_parts),
255252
Some(dt) => decomposition_type_tag(dt),

0 commit comments

Comments
 (0)