mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[gardening] Fix typo: "nul-terminated" → "null-terminated""
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
import SwiftShims
|
||||
|
||||
extension String {
|
||||
/// Creates a new `String` by copying the null-terminated UTF-8 data
|
||||
/// Creates a new `String` by copying the nul-terminated UTF-8 data
|
||||
/// referenced by a `CString`.
|
||||
///
|
||||
/// Returns `nil` if the `CString` is `NULL` or if it contains ill-formed
|
||||
@@ -30,7 +30,7 @@ extension String {
|
||||
input: UnsafeBufferPointer(start: UnsafeMutablePointer(cs), count: len))
|
||||
}
|
||||
|
||||
/// Creates a new `String` by copying the null-terminated UTF-8 data
|
||||
/// Creates a new `String` by copying the nul-terminated UTF-8 data
|
||||
/// referenced by a `CString`.
|
||||
///
|
||||
/// Returns `nil` if the `CString` is `NULL`. If `CString` contains
|
||||
|
||||
Reference in New Issue
Block a user