diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-30 20:51:09 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-30 20:58:46 +0100 |
| commit | 5ca303ecadff190800dd55a5a5ae224dc28a3920 (patch) | |
| tree | a49504b831981de1041a3f7f0ca44a3892f14ef1 /src/lib.rs | |
| parent | adfd7dd0735d8a4efeac634c53bbf386e91a4c41 (diff) | |
Make things more consistent ♻
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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![], } } } |
