Skip to content

Commit

Permalink
Fix some typos, update typos check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored and cmyr committed Feb 24, 2025
1 parent d7b4a99 commit dd282f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit dd282f7

Please sign in to comment.