mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-29 22:11:17 +00:00
parser: debug output for Syntax
/InnerSyntax
are swapped
This commit is contained in:
parent
e581dc7145
commit
98b60d3d8b
@ -762,14 +762,14 @@ impl Default for InnerSyntax<'static> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> fmt::Debug for InnerSyntax<'a> {
|
||||
impl<'a> fmt::Debug for Syntax<'a> {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
fmt_syntax("Syntax", self, f)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> fmt::Debug for Syntax<'a> {
|
||||
impl<'a> fmt::Debug for InnerSyntax<'a> {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
fmt_syntax("InnerSyntax", self, f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user