Skip to content

Commit 0959370

Browse files
authored
Merge pull request #31715 from valeriyvan/FixExampleSnippetSlice.swift
2 parents 488333c + 68ee82c commit 0959370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Slice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public struct Slice<Base: Collection> {
127127
///
128128
/// print(singleNonZeroDigits.count)
129129
/// // Prints "9"
130-
/// prints(singleNonZeroDigits.base.count)
130+
/// print(singleNonZeroDigits.base.count)
131131
/// // Prints "10"
132132
/// print(singleDigits == singleNonZeroDigits.base)
133133
/// // Prints "true"

0 commit comments

Comments
 (0)