Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos, update typos check in CI #1367

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: check typos
uses: crate-ci/typos@v1.27.3
uses: crate-ci/typos@v1.29.9
2 changes: 1 addition & 1 deletion read-fonts/src/collections/int_set/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ impl<T> IntSet<T> {
/// Return the inverted version of this set.
pub fn invert(&mut self) {
let reuse_storage = match &mut self.0 {
// take the existing storage to reuse in a new set of the oppposite
// take the existing storage to reuse in a new set of the opposite
// type.
Membership::Inclusive(s) | Membership::Exclusive(s) => {
std::mem::replace(s, BitSet::empty())
Expand Down
2 changes: 1 addition & 1 deletion write-fonts/src/from_obj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub trait ToOwnedObj<T> {
fn to_owned_obj(&self, data: FontData) -> T;
}

/// A conversion from a fully resolveable parsed font table to its owned equivalent.
/// A conversion from a fully resolvable parsed font table to its owned equivalent.
///
/// As with [`ToOwnedObj`], you should not need to implement this manually.
pub trait ToOwnedTable<T>: ToOwnedObj<T> {
Expand Down
2 changes: 1 addition & 1 deletion write-fonts/src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl Graph {
/// Attempt to pack the graph.
///
/// This involves finding an order for objects such that all offsets are
/// resolveable.
/// resolvable.
///
/// In the simple case, this just means finding a topological ordering.
/// In exceptional cases, however, this may require us to significantly
Expand Down