diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-10 20:54:13 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-10 21:04:10 +0200 |
| commit | 9ac125dea8d6ea6cc01814d04413225845b69d65 (patch) | |
| tree | c7dabcda703e5f5b2704c67920efc490f2f8fb57 /src/library/mod.rs | |
| parent | d4cc8c775d4c579aeac69ca2d212a604c67043b0 (diff) | |
Rename `State` to `Style` and move it into its own module
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index d99eb24d..7c8f4a93 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -17,10 +17,11 @@ use std::convert::TryFrom; use std::rc::Rc; use crate::diag::{At, TypResult}; -use crate::eval::{Args, Array, EvalContext, Scope, State, Str, Template, Value}; +use crate::eval::{Args, Array, EvalContext, Scope, Str, Template, Value}; use crate::font::{FontFamily, FontStretch, FontStyle, FontWeight, VerticalFontMetric}; use crate::geom::*; use crate::layout::LayoutNode; +use crate::style::Style; use crate::syntax::{Span, Spanned}; /// Construct a scope containing all standard library definitions. |
