Skip to content

Commit 4e43253

Browse files
authored
really bump msrv to 1.82 (#266)
1 parent 447e3e6 commit 4e43253

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Build with std
2727
run: cargo build
2828

29-
- name: MSRV Build (Rust 1.80)
30-
run: cargo +1.80 build
29+
- name: MSRV Build (Rust 1.82)
30+
run: cargo +1.82 build
3131

3232
- name: Run tests
3333
run: cargo test --verbose

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "harfrust"
33
version = "0.3.0"
44
edition = "2021"
5-
rust-version = "1.80" # should match https://github.com/googlefonts/fontations/blob/main/Cargo.toml
5+
rust-version = "1.82" # should match https://github.com/googlefonts/fontations/blob/main/Cargo.toml
66
description = "A complete HarfBuzz shaping algorithm port to Rust."
77
repository = "https://github.com/harfbuzz/harfrust"
88
license = "MIT"

src/hb/ot_shaper_indic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl IndicShapePlan {
494494
&& plan
495495
.ot_map
496496
.chosen_script(TableIndex::GSUB)
497-
.map_or(true, |tag| tag.to_be_bytes()[3] != b'2');
497+
.is_none_or(|tag| tag.to_be_bytes()[3] != b'2');
498498

499499
// Use zero-context would_substitute() matching for new-spec of the main
500500
// Indic scripts, and scripts with one spec only, but not for old-specs.

0 commit comments

Comments
 (0)