mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-04 00:05:12 +00:00
Fix lifetime of WithSpan::span()
This commit is contained in:
parent
bf20db307e
commit
20dc1a0139
@ -147,7 +147,7 @@ impl<'a, T> WithSpan<'a, T> {
|
|||||||
Self { inner, span }
|
Self { inner, span }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn span(&self) -> &str {
|
pub fn span(&self) -> &'a str {
|
||||||
self.span
|
self.span
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user