Skip to content

Commit 559d1c3

Browse files
authored
Merge pull request #6968 from apple/dabrahams-patch-4
2 parents 9fea138 + f78ce10 commit 559d1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/StringManifesto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ common pattern beautifully, but we need to add the APIs. Here are two examples
818818
of the sort of code that might be possible given such APIs:
819819

820820
```swift
821-
if let firstLetter = input.droppingPrefix(alphabeticCharacter) {
821+
if let firstLetter = input.dropPrefix(alphabeticCharacter) {
822822
somethingWith(input) // process the rest of input
823823
}
824824

0 commit comments

Comments
 (0)