File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ pub struct TagSpec {
1010 #[ serde( rename = "type" ) ]
1111 pub tag_type : TagType ,
1212 pub closing : Option < String > ,
13- #[ serde( rename = "intermediates" ) ]
1413 pub branches : Option < Vec < BranchSpec > > ,
1514 pub args : Option < Vec < ArgSpec > > ,
1615}
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ closing = "endif"
44
55# We keep the intermediates field name in TOML since we're using serde rename
66# to map it to branches in the Rust code
7- [[django .template .defaulttags .if .intermediates ]]
7+ [[django .template .defaulttags .if .branches ]]
88name = " elif"
99args = true
1010
11- [[django .template .defaulttags .if .intermediates ]]
11+ [[django .template .defaulttags .if .branches ]]
1212name = " else"
1313args = false
1414
@@ -22,7 +22,7 @@ closing = "endfor"
2222
2323# We keep the intermediates field name in TOML since we're using serde rename
2424# to map it to branches in the Rust code
25- [[django .template .defaulttags .for .intermediates ]]
25+ [[django .template .defaulttags .for .branches ]]
2626name = " empty"
2727args = false
2828
You can’t perform that action at this time.
0 commit comments