Skip to content

Commit 7039277

Browse files
authored
Merge pull request swiftlang#26906 from amartini51/master
2 parents f804efd + 64c32f3 commit 7039277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/CString.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ extension String {
5252
/// Creates a new string by copying the null-terminated UTF-8 data referenced
5353
/// by the given pointer.
5454
///
55-
/// This is identical to init(cString: UnsafePointer<CChar> but operates on an
56-
/// unsigned sequence of bytes.
55+
/// This is identical to `init(cString: UnsafePointer<CChar>)` but operates on
56+
/// an unsigned sequence of bytes.
5757
public init(cString: UnsafePointer<UInt8>) {
5858
let len = UTF8._nullCodeUnitOffset(in: cString)
5959
self = String._fromUTF8Repairing(

0 commit comments

Comments
 (0)