From 8f77de9621f9916408c22856b2ca5c643ae0ed6b Mon Sep 17 00:00:00 2001 From: Chad Brokaw Date: Mon, 5 Feb 2024 12:25:10 -0500 Subject: [PATCH] move instruction counts to mod docs --- skrifa/src/outline/glyf/hint/engine/arith.rs | 4 ++-- skrifa/src/outline/glyf/hint/engine/graphics_state.rs | 4 ++-- skrifa/src/outline/glyf/hint/engine/logical.rs | 4 ++-- skrifa/src/outline/glyf/hint/engine/stack.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/skrifa/src/outline/glyf/hint/engine/arith.rs b/skrifa/src/outline/glyf/hint/engine/arith.rs index 2e73adfc4..ee33128bc 100644 --- a/skrifa/src/outline/glyf/hint/engine/arith.rs +++ b/skrifa/src/outline/glyf/hint/engine/arith.rs @@ -1,9 +1,9 @@ //! Arithmetic and math instructions. //! +//! Implements 10 instructions. +//! //! See -// 10 instructions - use super::{super::math, Engine, HintErrorKind, OpResult}; impl<'a> Engine<'a> { diff --git a/skrifa/src/outline/glyf/hint/engine/graphics_state.rs b/skrifa/src/outline/glyf/hint/engine/graphics_state.rs index 89bad9052..450c920c3 100644 --- a/skrifa/src/outline/glyf/hint/engine/graphics_state.rs +++ b/skrifa/src/outline/glyf/hint/engine/graphics_state.rs @@ -1,9 +1,9 @@ //! Managing the graphics state. //! +//! Implements 45 instructions. +//! //! See -// 45 instructions - use read_fonts::types::Point; use super::{ diff --git a/skrifa/src/outline/glyf/hint/engine/logical.rs b/skrifa/src/outline/glyf/hint/engine/logical.rs index 5283971b4..87b4e0750 100644 --- a/skrifa/src/outline/glyf/hint/engine/logical.rs +++ b/skrifa/src/outline/glyf/hint/engine/logical.rs @@ -1,9 +1,9 @@ //! Logical functions. //! +//! Implements 11 instructions. +//! //! See -// 11 instructions - use super::{Engine, OpResult}; impl<'a> Engine<'a> { diff --git a/skrifa/src/outline/glyf/hint/engine/stack.rs b/skrifa/src/outline/glyf/hint/engine/stack.rs index 20edcbff7..6b148cbce 100644 --- a/skrifa/src/outline/glyf/hint/engine/stack.rs +++ b/skrifa/src/outline/glyf/hint/engine/stack.rs @@ -1,10 +1,10 @@ //! Managing the stack and pushing data onto the interpreter stack. //! +//! Implements 26 instructions. +//! //! See //! and -// 26 instructions - use super::{super::code_state::Args, Engine, OpResult}; impl<'a> Engine<'a> {