Skip to content

Commit e3505bc

Browse files
committed
Fix formatting
1 parent ab295db commit e3505bc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Sources/GDBRemoteProtocol/GDBHostCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ package struct GDBHostCommand: Equatable {
9090

9191
/// Arguments supplied with a host command.
9292
package let arguments: String
93-
93+
9494
/// Initialize a host command from raw strings sent from a host.
9595
/// - Parameters:
9696
/// - kindString: raw ``String`` that denotes kind of the command.

Sources/GDBRemoteProtocol/GDBHostCommandDecoder.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ package struct GDBHostCommandDecoder: ByteToMessageDecoder {
5151

5252
private var accummulatedKind = [UInt8]()
5353
private var accummulatedArguments = [UInt8]()
54-
54+
5555
/// Logger instance used by this decoder.
5656
private let logger: Logger
57-
57+
5858
/// Initializes a new decoder.
5959
/// - Parameter logger: logger instance that consumes messages from the newly
6060
/// initialized decoder.
6161
package init(logger: Logger) { self.logger = logger }
62-
62+
6363
/// Sum of the raw character values consumed in the current command so far,
6464
/// used in checksum computation.
6565
private var accummulatedSum = 0
@@ -68,7 +68,7 @@ package struct GDBHostCommandDecoder: ByteToMessageDecoder {
6868
package var accummulatedChecksum: UInt8 {
6969
UInt8(self.accummulatedSum % 256)
7070
}
71-
71+
7272
/// Whether `QStartNoAckMode` command was sent. Note that this is separate
7373
/// from ``isNoAckModeActive``. This mode is "activated" for the subsequent
7474
/// host command, which is when `isNoAckModeActive` is set by the decoder to

Sources/GDBRemoteProtocol/GDBTargetResponse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ package struct GDBTargetResponse {
4343
/// before encoding this response.
4444
/// See https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packet-Acknowledgment.html#Packet-Acknowledgment
4545
package let isNoAckModeActivate: Bool
46-
46+
4747
/// Member-wise initializer for the debugger response.
4848
package init(kind: Kind, isNoAckModeActivate: Bool) {
4949
self.kind = kind

0 commit comments

Comments
 (0)