mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-26 04:57:50 +00:00
Tweak formatting of function DocC comments (#407)
Motivation: Tweaking the formatting of the DocC comments enables syntax highlighting for parameter names in Xcode Modifications: Whitespace changes, capitalisation changes and added a parameter description for `indexing` in HOACKHeaders `replaceOrAdd`, `add`. Result: More readable DocC comments
This commit is contained in:
1 parent
6e35856efa
commit
d5f0715865
16 files changed
+344
-339
No files matched your search
@@ -158,9 +158,9 @@ public extension ByteBuffer {
|
||||
/// Serializes a ``HTTP2ErrorCode`` into a `ByteBuffer` in the appropriate endianness
|
||||
/// for use in HTTP/2.
|
||||
///
|
||||
/// - parameters:
|
||||
/// - code: The ``HTTP2ErrorCode`` to serialize.
|
||||
/// - returns: The number of bytes written.
|
||||
/// - Parameters:
|
||||
/// - code: The ``HTTP2ErrorCode`` to serialize.
|
||||
/// - Returns: The number of bytes written.
|
||||
mutating func write(http2ErrorCode code: HTTP2ErrorCode) -> Int {
|
||||
return self.writeInteger(UInt32(http2ErrorCode: code))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user