summaryrefslogtreecommitdiff
path: root/src/directive/toc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/directive/toc.rs')
-rw-r--r--src/directive/toc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directive/toc.rs b/src/directive/toc.rs
index 6db46d2..cc94be4 100644
--- a/src/directive/toc.rs
+++ b/src/directive/toc.rs
@@ -20,8 +20,8 @@ impl Toc {
}
}
-impl From<ParsedDirective> for Toc {
- fn from(_p: ParsedDirective) -> Self {
+impl From<&ParsedDirective> for Toc {
+ fn from(_p: &ParsedDirective) -> Self {
Self::new()
}
}