Skip to content

Commit ddf2469

Browse files
author
Ikko Ashimine
authored
[stdlib] Fix typo in StringStorage.swift
enfore -> enforce
1 parent 37649de commit ddf2469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/StringStorage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ extension __StringStorage {
457457
// The unused capacity available for appending. Note that this excludes the
458458
// required nul-terminator.
459459
//
460-
// NOTE: Callers who wish to mutate this storage should enfore nul-termination
460+
// NOTE: Callers who wish to mutate this storage should enforce nul-termination
461461
//
462462
// TODO: Refactoring or removing. Excluding the last byte is awkward.
463463
@inline(__always)

0 commit comments

Comments
 (0)