Skip to content

Commit 5f10cfb

Browse files
Fix typo in documentation for MarkupVisitor (#26)
Co-authored-by: Christopher Weems <[email protected]>
1 parent caafc56 commit 5f10cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Markdown/Visitor/MarkupVisitor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
///
1313
/// - note: This interface only provides requirements for visiting each kind of element. It does not require each visit method to descend into child elements.
1414
///
15-
/// Generally, ``MarkupWalker`` is best for walking a ``Markup`` tree if the ``Result`` type is `Void` or is built up some other way, or ``MarkupRewriter`` for recursively changing a tree's structure. This type serves as a common interface to both. However, for building up other structured result types you can implement ``MarkupWalker`` directly.
15+
/// Generally, ``MarkupWalker`` is best for walking a ``Markup`` tree if the ``Result`` type is `Void` or is built up some other way, or ``MarkupRewriter`` for recursively changing a tree's structure. This type serves as a common interface to both. However, for building up other structured result types you can implement ``MarkupVisitor`` directly.
1616
public protocol MarkupVisitor {
1717

1818
/**

0 commit comments

Comments
 (0)