We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214887f commit c4b7ccaCopy full SHA for c4b7cca
Cargo.toml
@@ -64,3 +64,4 @@ unit_arg = "allow"
64
needless_lifetimes = "allow"
65
neg_cmp_op_on_partial_ord = "allow"
66
manual_range_contains = "allow"
67
+manual_is_multiple_of = "allow"
src/fonts/library.rs
@@ -313,7 +313,7 @@ impl FontLibrary {
313
// TODO: we need some mechanism to widen the search when this
314
// fails (certain chars might only be found in a special font).
315
if id.is_none() {
316
- id = font.1.first().map(|id| *id);
+ id = font.1.first().copied();
317
}
318
319
entry.insert(id);
0 commit comments