Skip to content

Commit

Permalink
better comment for PaintId
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrg committed Dec 1, 2023
1 parent 198f4e9 commit 896b096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion read-fonts/src/tables/colr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::variations::{DeltaSetIndexMap, ItemVariationStore};

include!("../../generated/generated_colr.rs");

/// Identifier used for representing a paint on the recursion blacklist.
/// Unique paint identifier used for detecting cycles in the paint graph.
pub type PaintId = usize;

impl<'a> Colr<'a> {
Expand Down
2 changes: 1 addition & 1 deletion skrifa/src/color/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use read_fonts::{

use core::ops::{Deref, Range};

/// Identifier used for representing a paint on the recursion blacklist.
/// Unique paint identifier used for detecting cycles in the paint graph.
pub type PaintId = usize;

/// Combination of a `COLR` table and a location in variation space for
Expand Down

0 comments on commit 896b096

Please sign in to comment.