From 5ca303ecadff190800dd55a5a5ae224dc28a3920 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 30 Mar 2019 20:51:09 +0100 Subject: =?UTF-8?q?Make=20things=20more=20consistent=20=E2=99=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 44c7642e..b9992b42 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,13 +2,14 @@ //! //! # Compilation //! - **Parsing:** The parsing step first transforms a plain string into an -//! [iterator of tokens](crate::parsing::Tokens). Then the parser operates on that to construct -//! a syntax tree. The structures describing the tree can be found in the [`syntax`] module. +//! [iterator of tokens](crate::parsing::Tokens). Then the [parser](crate::parsing::Parser) +//! operates on that to construct a syntax tree. The structures describing the tree can be found +//! in the [syntax] module. //! - **Typesetting:** The next step is to transform the syntax tree into a portable representation -//! of the typesetted document. Types for these can be found in the [`doc`] module. This +//! of the typesetted document. Types for these can be found in the [doc] module. This //! representation contains already the finished layout. //! - **Exporting:** The finished document can then be exported into supported formats. Submodules -//! for the supported formats are located in the [`export`] module. Currently the only supported +//! for the supported formats are located in the [export] module. Currently the only supported //! format is _PDF_. //! //! # Example @@ -82,7 +83,7 @@ impl<'p> Compiler<'p> { Compiler { context: Context { style: Style::default(), - font_providers: Vec::new(), + font_providers: vec![], } } } -- cgit v1.2.3