summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs
index cb404c57..b548214a 100644
--- a/src/bin/main.rs
+++ b/src/bin/main.rs
@@ -46,7 +46,7 @@ fn run() -> Result<(), Box<Error>> {
]));
// Compile the source code with the compiler.
- let document = compiler.typeset(&src)?;
+ let document = compiler.compile(&src)?;
// Export the document into a PDF file.