mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Make 'ninja -Cbuild clippy' apply fixes
This commit is contained in:
parent
f7cb3a3c8e
commit
a68f458612
2 changed files with 3 additions and 1 deletions
|
@ -711,7 +711,7 @@ extern "C" fn _hb_fontations_paint_glyph(
|
|||
start_index
|
||||
} else {
|
||||
// https://github.com/harfbuzz/harfbuzz/issues/5116
|
||||
cpal.color_record_indices().get(0 as usize)
|
||||
cpal.color_record_indices().get(0_usize)
|
||||
};
|
||||
|
||||
if let (Some(Ok(color_records)), Some(start_index)) = (color_records, start_index) {
|
||||
|
|
|
@ -63,6 +63,8 @@ clippy = custom_target(
|
|||
command: [
|
||||
cargo, 'clippy',
|
||||
] + cargo_args + [
|
||||
'--allow-dirty', '--fix',
|
||||
'--lib', '-p', 'harfbuzz_fontations',
|
||||
'--target-dir', meson.current_build_dir(),
|
||||
'--manifest-path', meson.current_source_dir() / 'Cargo.toml'
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue