mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +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]
|
#[inline]
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
fmt_syntax("Syntax", self, f)
|
fmt_syntax("Syntax", self, f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> fmt::Debug for Syntax<'a> {
|
impl<'a> fmt::Debug for InnerSyntax<'a> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
fmt_syntax("InnerSyntax", self, f)
|
fmt_syntax("InnerSyntax", self, f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user