Skip to content

Commit a297f2d

Browse files
committed
Fix formatting
1 parent fc740e5 commit a297f2d

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
@@ -63,15 +63,15 @@ package struct GDBHostCommandDecoder: ByteToMessageDecoder {
6363

6464
private var accummulatedKind = [UInt8]()
6565
private var accummulatedArguments = [UInt8]()
66-
66+
6767
/// Logger instance used by this decoder.
6868
private let logger: Logger
69-
69+
7070
/// Initializes a new decoder.
7171
/// - Parameter logger: logger instance that consumes messages from the newly
7272
/// initialized decoder.
7373
package init(logger: Logger) { self.logger = logger }
74-
74+
7575
/// Sum of the raw character values consumed in the current command so far,
7676
/// used in checksum computation.
7777
private var accummulatedSum = 0
@@ -80,7 +80,7 @@ package struct GDBHostCommandDecoder: ByteToMessageDecoder {
8080
package var accummulatedChecksum: UInt8 {
8181
UInt8(self.accummulatedSum % 256)
8282
}
83-
83+
8484
/// Whether `QStartNoAckMode` command was sent. Note that this is separate
8585
/// from ``isNoAckModeActive``. This mode is "activated" for the subsequent
8686
/// 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
@@ -55,7 +55,7 @@ package struct GDBTargetResponse {
5555
/// before encoding this response.
5656
/// See https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packet-Acknowledgment.html#Packet-Acknowledgment
5757
package let isNoAckModeActivate: Bool
58-
58+
5959
/// Member-wise initializer for the debugger response.
6060
package init(kind: Kind, isNoAckModeActivate: Bool) {
6161
self.kind = kind

0 commit comments

Comments
 (0)