From bf5edbbbbb75120d065d1c9587ccfa4eed4fdca1 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 25 Nov 2022 10:36:31 +0100 Subject: Tidy up --- src/model/library.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/model/library.rs') diff --git a/src/model/library.rs b/src/model/library.rs index 8433e514..2ee09b27 100644 --- a/src/model/library.rs +++ b/src/model/library.rs @@ -12,7 +12,7 @@ use crate::geom::{Abs, Dir}; use crate::util::{hash128, EcoString}; use crate::World; -/// A Typst standard library. +/// Definition of Typst's standard library. #[derive(Debug, Clone, Hash)] pub struct Library { /// The scope containing definitions that are available everywhere. @@ -23,13 +23,13 @@ pub struct Library { pub items: LangItems, } -/// Definition of certain standard library items the language is aware of. +/// Definition of library items the language is aware of. #[derive(Clone)] pub struct LangItems { /// The root layout function. pub layout: fn( - content: &Content, world: Tracked, + content: &Content, styles: StyleChain, ) -> SourceResult>, /// Access the em size. -- cgit v1.2.3