summaryrefslogtreecommitdiff
path: root/library/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/lib.rs')
-rw-r--r--library/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/lib.rs b/library/src/lib.rs
index 7fcad183..c2234446 100644
--- a/library/src/lib.rs
+++ b/library/src/lib.rs
@@ -159,7 +159,7 @@ fn styles() -> StyleMap {
/// Construct the standard lang item mapping.
fn items() -> LangItems {
LangItems {
- layout: |content, world, styles| content.layout_root(world, styles),
+ layout: |world, content, styles| content.layout_root(world, styles),
em: |styles| styles.get(text::TextNode::SIZE),
dir: |styles| styles.get(text::TextNode::DIR),
space: || text::SpaceNode.pack(),