Address Clippy lints
This commit is contained in:
parent
e053e25d2c
commit
15f794b7a8
43 changed files with 147 additions and 172 deletions
|
|
@ -54,7 +54,7 @@ impl Pipeline {
|
|||
#[cfg(target_arch = "wasm32")]
|
||||
let draw_brush_builder = draw_brush_builder.draw_cache_align_4x4(true);
|
||||
|
||||
let draw_brush = draw_brush_builder.build(&gl);
|
||||
let draw_brush = draw_brush_builder.build(gl);
|
||||
|
||||
let measure_brush =
|
||||
glyph_brush::GlyphBrushBuilder::using_font(font).build();
|
||||
|
|
@ -180,7 +180,8 @@ impl Pipeline {
|
|||
}
|
||||
b_count += utf8_len;
|
||||
}
|
||||
return byte_index;
|
||||
|
||||
byte_index
|
||||
};
|
||||
|
||||
if !nearest_only {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue