From aae8a3a77e7c963767b5bd94148d06d86d9b24dd Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 14 Mar 2019 15:35:01 +0100 Subject: =?UTF-8?q?Unified=20font=20error=20type=20=F0=9F=94=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index dcd76a26..29daa853 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; -- cgit v1.2.3