Skip to content

Commit 95b8f9c

Browse files
authored
Merge pull request #3 from 2JS/master
Fix typo removeSuffix -> removedSuffix
2 parents 8b4cc56 + 01a7fe3 commit 95b8f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SparrowKit/Foundation/StringExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public extension String {
159159

160160
- parameter suffix: String which need remove.
161161
*/
162-
func removeSuffix(_ suffix: String) -> String {
162+
func removedSuffix(_ suffix: String) -> String {
163163
if self.hasSuffix(suffix) {
164164
return String(dropLast(suffix.count))
165165
} else {

0 commit comments

Comments
 (0)