summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-05-20 11:36:31 +0200
committerLaurenz <laurmaedje@gmail.com>2019-05-20 11:36:31 +0200
commite3215fa3b92574e2087c28b1d494d397e6819236 (patch)
tree27be3c1b7679a1905ec2340d3cee2b335d021142 /src/bin
parent5c66bac689f4551e30c20e57087d47245853b5fe (diff)
Unify parsing and typesetting functions. 🗳
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.