From 83c01deab2ebb54af75a40c6f720df866e9c1c50 Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Fri, 17 Mar 2023 12:53:17 +0200 Subject: [PATCH] Fix typo in doc comment --- Sources/Foundation/NSStringAPI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Foundation/NSStringAPI.swift b/Sources/Foundation/NSStringAPI.swift index d12a695564..0a7c475eed 100644 --- a/Sources/Foundation/NSStringAPI.swift +++ b/Sources/Foundation/NSStringAPI.swift @@ -253,7 +253,7 @@ extension String { /// /// - Parameters: /// - bytes: A sequence of bytes to interpret using `encoding`. - /// - encoding: The ecoding to use to interpret `bytes`. + /// - encoding: The encoding to use to interpret `bytes`. public init?(bytes: __shared S, encoding: Encoding) where S.Iterator.Element == UInt8 { let byteArray = Array(bytes)