Skip to content

Commit 36b71b3

Browse files
QuietMisdreavusKyle-Ye
authored andcommitted
use older if let syntax
rdar://106666684
1 parent 656cf39 commit 36b71b3

File tree

1 file changed

+1
-1
lines changed
  • Sources/Markdown/Inline Nodes/Inline Containers

1 file changed

+1
-1
lines changed

Sources/Markdown/Inline Nodes/Inline Containers/Link.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public extension Link {
6464
}
6565

6666
var isAutolink: Bool {
67-
guard let destination,
67+
guard let destination = destination,
6868
childCount == 1,
6969
let text = child(at: 0) as? Text,
7070
destination == text.string else {

0 commit comments

Comments
 (0)