[stdlib] Capitalize keywords in doc comments

Again, the text is a lot more readable that way.

Swift SVN r28472
This commit is contained in:
Dave Abrahams
2015-05-12 16:59:13 +00:00
parent 106b39a497
commit 5c55682d8b
68 changed files with 307 additions and 307 deletions

View File

@@ -619,7 +619,7 @@ extension String {
// remainingRange:(NSRangePointer)leftover
/// Gets a given range of characters as bytes in a specified encoding.
/// - note: will get a maximum of `min(buffer.count, maxLength)` bytes.
/// - Note: will get a maximum of `min(buffer.count, maxLength)` bytes.
public func getBytes(
inout buffer: [UInt8],
maxLength: Int,
@@ -648,7 +648,7 @@ extension String {
/// Converts the `String`s content to a given encoding and
/// stores them in a buffer.
/// - note: will store a maximum of `min(buffer.count, maxLength)` bytes.
/// - Note: will store a maximum of `min(buffer.count, maxLength)` bytes.
public func getCString(
inout buffer: [CChar], maxLength: Int, encoding: NSStringEncoding
) -> Bool {
@@ -663,7 +663,7 @@ extension String {
/// Interprets the `String` as a system-independent path and
/// fills a buffer with a C-string in a format and encoding suitable
/// for use with file-system calls.
/// - note: will store a maximum of `min(buffer.count, maxLength)` bytes.
/// - Note: will store a maximum of `min(buffer.count, maxLength)` bytes.
public func getFileSystemRepresentation(
inout buffer: [CChar], maxLength: Int) -> Bool {
return _ns.getFileSystemRepresentation(