Skip to content

Commit a8832ff

Browse files
author
Pilkington
committed
Clarify the purpose of ListDecodingStrategy.collapseListUsingItemTag.
1 parent 547d597 commit a8832ff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Sources/XMLCoding/Decoder/XMLDecoder.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ open class XMLDecoder {
109109
case preserveStructure
110110

111111
/// Collapse the XML structure to avoid the outer type.
112-
/// Useful when individual items will all listed under the one tag and
113-
/// the added layer of the outer type is not useful.
112+
/// Useful when individual items will all be listed under one tag;
113+
/// the outer type will only include one list under this tag and can be
114+
/// omitted.
114115
case collapseListUsingItemTag(String)
115116
}
116117

0 commit comments

Comments
 (0)