We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cce6e0 commit 8318ce2Copy full SHA for 8318ce2
crates/stdlib/src/unicodedata.rs
@@ -246,10 +246,7 @@ mod unicodedata {
246
if chars.len() == 1 && chars[0] == ch {
247
return Ok(String::new());
248
}
249
- let hex_parts = chars
250
- .iter()
251
- .map(|c| format!("{:04X}", *c as u32))
252
- .join(" ");
+ let hex_parts = chars.iter().map(|c| format!("{:04X}", *c as u32)).join(" ");
253
let tag = match ch.decomposition_type() {
254
Some(DecompositionType::Canonical) | None => return Ok(hex_parts),
255
Some(dt) => decomposition_type_tag(dt),
0 commit comments