summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d12e167a..ed1e079e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,10 +30,9 @@
//! ("CMU-Serif-Italic.ttf", font!["Computer Modern", Italic, Serif]),
//! ("NotoEmoji-Regular.ttf", font!["Noto", Regular, Serif, SansSerif, Monospace]),
//! ]));
-//! // Typeset the source code into a document.
-//! let document = typesetter.typeset(src).unwrap();
//!
-//! // Export the document into a PDF file.
+//! // Typeset the document and export it into a PDF file.
+//! let document = typesetter.typeset(src).unwrap();
//! # /*
//! let file = File::create("hello-typeset.pdf").unwrap();
//! # */