mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +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 }
|
||||
}
|
||||
|
||||
pub fn span(&self) -> &str {
|
||||
pub fn span(&self) -> &'a str {
|
||||
self.span
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user