diff options
Diffstat (limited to 'src/directive/inline.rs')
-rw-r--r-- | src/directive/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directive/inline.rs b/src/directive/inline.rs index efaf7ee..5d4f786 100644 --- a/src/directive/inline.rs +++ b/src/directive/inline.rs @@ -31,8 +31,8 @@ impl Inline { } } -impl From<ParsedDirective> for Inline { - fn from(_p: ParsedDirective) -> Self { +impl From<&ParsedDirective> for Inline { + fn from(_p: &ParsedDirective) -> Self { Inline::new() } } |