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