File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1936,13 +1936,16 @@ impl WritingContext {
1936
1936
. reconfigure ( ( * self . cases . last ( ) ) . map ( Into :: into) . unwrap_or_default ( ) ) ;
1937
1937
}
1938
1938
1939
- /// Set the delimiter of the next [`citationberg::Choose`].
1939
+ /// Set the delimiter of the children of a [`citationberg::Group`] or
1940
+ /// [`citationberg::Layout`]. It is inherited by [`citationberg::Choose`]
1941
+ /// for its children as well.
1940
1942
fn push_delimiter ( & mut self , delimiter : Option < String > ) -> DelimiterIdx {
1941
1943
let idx = self . delimiters . len ( ) ;
1942
1944
self . delimiters . push ( delimiter) ;
1943
1945
DelimiterIdx ( idx)
1944
1946
}
1945
- /// Clear the delimiter of the next [`citationberg::Choose`].
1947
+ /// Clear the delimiter after a [`citationberg::Group`] or
1948
+ /// [`citationberg::Layout`].
1946
1949
fn pop_delimiter ( & mut self , idx : DelimiterIdx ) {
1947
1950
if idx. 0 == self . delimiters . len ( ) {
1948
1951
return ;
You can’t perform that action at this time.
0 commit comments