Skip to content

Commit 11485e5

Browse files
committed
[doc] fix note visibility for docc-generated pages
1 parent a74b5b7 commit 11485e5

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

stdlib/public/core/CString.swift

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ extension String {
5959
/// initializer replaces them with the Unicode replacement character
6060
/// (`"\u{FFFD}"`).
6161
///
62-
/// Note: This initializer is deprecated. Use the initializer
63-
/// `String.init(decoding: array, as: UTF8.self)` instead,
64-
/// remembering that "\0" is a valid character in Swift.
62+
/// - Note: This initializer is deprecated. Use the initializer
63+
/// `String.init(decoding: array, as: UTF8.self)` instead,
64+
/// remembering that "\0" is a valid character in Swift.
6565
///
6666
/// - Parameter nullTerminatedUTF8:
6767
/// An array containing a null-terminated sequence of UTF-8 code units.
@@ -121,9 +121,9 @@ extension String {
121121
/// This is identical to `init(cString: [CChar])` but operates on
122122
/// an unsigned sequence of bytes.
123123
///
124-
/// Note: This initializer is deprecated. Use the initializer
125-
/// `String.init(decoding: array, as: UTF8.self)` instead,
126-
/// remembering that "\0" is a valid character in Swift.
124+
/// - Note: This initializer is deprecated. Use the initializer
125+
/// `String.init(decoding: array, as: UTF8.self)` instead,
126+
/// remembering that "\0" is a valid character in Swift.
127127
///
128128
/// - Parameter nullTerminatedUTF8:
129129
/// An array containing a null-terminated UTF-8 code unit sequence.
@@ -214,8 +214,8 @@ extension String {
214214
/// }
215215
/// // Prints "nil"
216216
///
217-
/// Note: This initializer has been renamed. Use
218-
/// `String.init?(validatingCString:)` instead.
217+
/// - Note: This initializer has been renamed. Use
218+
/// `String.init?(validatingCString:)` instead.
219219
///
220220
/// - Parameter cString:
221221
/// A pointer to a null-terminated sequence of UTF-8 code units.
@@ -236,9 +236,9 @@ extension String {
236236
/// This initializer does not try to repair ill-formed UTF-8 code unit
237237
/// sequences. If any are found, the result of the initializer is `nil`.
238238
///
239-
/// Note: This initializer is deprecated. Use the initializer
240-
/// `String.init?(validating: array, as: UTF8.self)` instead,
241-
/// remembering that "\0" is a valid character in Swift.
239+
/// - Note: This initializer is deprecated. Use the initializer
240+
/// `String.init?(validating: array, as: UTF8.self)` instead,
241+
/// remembering that "\0" is a valid character in Swift.
242242
///
243243
/// - Parameter nullTerminatedUTF8:
244244
/// An array containing a null-terminated sequence of UTF-8 code units.
@@ -264,9 +264,9 @@ extension String {
264264
/// This initializer does not try to repair ill-formed UTF-8 code unit
265265
/// sequences. If any are found, the result of the initializer is `nil`.
266266
///
267-
/// Note: This initializer is deprecated. Use the initializer
268-
/// `String.init?(validating: array, as: UTF8.self)` instead,
269-
/// remembering that "\0" is a valid character in Swift.
267+
/// - Note: This initializer is deprecated. Use the initializer
268+
/// `String.init?(validating: array, as: UTF8.self)` instead,
269+
/// remembering that "\0" is a valid character in Swift.
270270
///
271271
/// - Parameter cString:
272272
/// An array containing a null-terminated sequence of UTF-8 code units.
@@ -480,9 +480,9 @@ extension String {
480480
/// initializer replaces them with the Unicode replacement character
481481
/// (`"\u{FFFD}"`).
482482
///
483-
/// Note: This initializer is deprecated. Use the initializer
484-
/// `String.init(decoding: array, as: Encoding.self)` instead,
485-
/// remembering that "\0" is a valid character in Swift.
483+
/// - Note: This initializer is deprecated. Use the initializer
484+
/// `String.init(decoding: array, as: Encoding.self)` instead,
485+
/// remembering that "\0" is a valid character in Swift.
486486
///
487487
/// - Parameters:
488488
/// - nullTerminatedCodeUnits: An array containing a null-terminated

0 commit comments

Comments
 (0)