diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-14 15:35:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-14 15:35:01 +0100 |
| commit | aae8a3a77e7c963767b5bd94148d06d86d9b24dd (patch) | |
| tree | 76132b9ea6daffcf737ec62b53ce275536a572cd /src/lib.rs | |
| parent | 9b3386f8a3c023be7f948c484f3b60208b9869d0 (diff) | |
Unified font error type 🔗
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,10 +15,10 @@ //! //! // Create a compiler and export a PDF. //! let src = "Hello World from Typeset!"; -//! let compiler = Compiler::new(src); +//! let compiler = Compiler::new(); //! //! // Write the document into a file as a PDF. -//! compiler.write_pdf(&mut file).unwrap(); +//! compiler.write_pdf(src, &mut file).unwrap(); //! ``` pub mod syntax; |
