Skip to content

Commit 280b74e

Browse files
committed
formatting
1 parent fec2e62 commit 280b74e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Sources/DistributedActors/ClusterSystemSettings.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public struct ClusterSystemSettings {
230230
}
231231

232232
public var metrics: MetricsSettings = .default(rootName: nil)
233-
233+
234234
/// Internal only; Instrumentation configuration, allowing to set instrumentation objects to be called by actor system internals, for purpose of metrics collection etc.
235235
internal var instrumentation: InstrumentationSettings = .default
236236

@@ -310,7 +310,7 @@ public struct LoggingSettings {
310310
}
311311

312312
internal var customizedLogger: Bool = false
313-
internal var _logger: Logger = Logger(label: "ClusterSystem-initializing") // replaced by specific system name during startup
313+
internal var _logger = Logger(label: "ClusterSystem-initializing") // replaced by specific system name during startup
314314

315315
internal var useBuiltInFormatter: Bool = true
316316

@@ -342,7 +342,6 @@ extension ClusterSystemSettings {
342342
// MARK: Instrumentation Settings
343343

344344
extension ClusterSystemSettings {
345-
346345
/// Prototype instrumentation mechanism settings.
347346
///
348347
/// These can be used to inject implementations of instrumentation into the cluster system,

Sources/DistributedActors/Receptionist/Reception.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import Distributed
1818
// MARK: Reception
1919

2020
/// Namespace for public messages related to the Receptionist.
21-
public enum _Reception{}
21+
public enum _Reception {}
2222

2323
// ==== ----------------------------------------------------------------------------------------------------------------
2424
// MARK: _ReceptionKey
2525

26-
extension _Reception{
26+
extension _Reception {
2727
/// Used to register and lookup actors in the receptionist.
2828
/// The key is a combination the Guest's type and an identifier to identify sub-groups of actors of that type.
2929
///
@@ -77,7 +77,7 @@ extension _Reception{
7777
// ==== ----------------------------------------------------------------------------------------------------------------
7878
// MARK: _ReceptionListing
7979

80-
extension _Reception{
80+
extension _Reception {
8181
/// Response to `Lookup` and `Subscribe` requests.
8282
/// A listing MAY be empty.
8383
public struct Listing<Guest: _ReceptionistGuest>: Equatable, CustomStringConvertible {
@@ -175,7 +175,7 @@ extension ReceptionistListing {
175175
// ==== ----------------------------------------------------------------------------------------------------------------
176176
// MARK: _ReceptionRegistered
177177

178-
extension _Reception{
178+
extension _Reception {
179179
/// Response to a `Register` message
180180
public final class Registered<Guest: _ReceptionistGuest>: NonTransportableActorMessage, CustomStringConvertible {
181181
internal let _guest: Guest

Sources/DistributedActors/Version.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
extension ClusterSystem {
16-
1716
/// Version of the cluster system, as advertised to other nodes while joining the cluster.
1817
/// Can be used to determine wire of feature compatibility of nodes joining a cluster.
1918
public struct Version: Equatable, CustomStringConvertible {

0 commit comments

Comments
 (0)