Skip to content

Commit 3245cd1

Browse files
committed
clippy
1 parent 0cc47eb commit 3245cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stdlib/src/unicodedata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ mod unicodedata {
186186
Ok(self
187187
.extract_char(character, vm)?
188188
.and_then(|c| c.to_char())
189-
.map_or(EastAsianWidth::Neutral, |c| EastAsianWidth::for_char(c))
189+
.map_or(EastAsianWidth::Neutral, EastAsianWidth::for_char)
190190
.short_name())
191191
}
192192

0 commit comments

Comments
 (0)