Skip to content

Commit 15cb7df

Browse files
valeriyvancompnerd
authored andcommitted
Fix typo in doc comment
1 parent f7d28f0 commit 15cb7df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Foundation/NSStringAPI.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ extension String {
253253
///
254254
/// - Parameters:
255255
/// - bytes: A sequence of bytes to interpret using `encoding`.
256-
/// - encoding: The ecoding to use to interpret `bytes`.
256+
/// - encoding: The encoding to use to interpret `bytes`.
257257
public init?<S: Sequence>(bytes: __shared S, encoding: Encoding)
258258
where S.Iterator.Element == UInt8 {
259259
let byteArray = Array(bytes)

0 commit comments

Comments
 (0)