Skip to content

Commit a4496d5

Browse files
valeriyvannatecook1000
authored andcommitted
Fixes typo in var name in example snippet (#21553)
imagePaths is declared in line 320
1 parent d1db4ea commit a4496d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Dictionary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
///
341341
/// let glyphIndex = imagePaths.firstIndex(where: { $0.value.hasPrefix("/glyphs") })
342342
/// if let index = glyphIndex {
343-
/// print("The '\(imagesPaths[index].key)' image is a glyph.")
343+
/// print("The '\(imagePaths[index].key)' image is a glyph.")
344344
/// } else {
345345
/// print("No glyphs found!")
346346
/// }

0 commit comments

Comments
 (0)