@@ -184,7 +184,7 @@ public struct ServerDescription {
184184extension ServerDescription : Equatable {
185185 public static func == ( lhs: ServerDescription , rhs: ServerDescription ) -> Bool {
186186 // Compare everything except `error` it is always nil and `MongoError`s are not `Equatable`
187- return lhs. connectionId == rhs. connectionId &&
187+ lhs. connectionId == rhs. connectionId &&
188188 lhs. roundTripTime == rhs. roundTripTime &&
189189 lhs. lastWriteDate == rhs. lastWriteDate &&
190190 lhs. opTime == rhs. opTime &&
@@ -274,7 +274,7 @@ public struct TopologyDescription {
274274 /// Returns `true` if the topology has a readable server available, and `false` otherwise.
275275 public func hasReadableServer( ) -> Bool {
276276 // (this function should take in an optional ReadPreference, but we have yet to implement that type.)
277- return [ . single, . replicaSetWithPrimary, . sharded] . contains ( self . type)
277+ [ . single, . replicaSetWithPrimary, . sharded] . contains ( self . type)
278278 }
279279
280280 /// Returns `true` if the topology has a writable server available, and `false` otherwise.
@@ -304,7 +304,7 @@ public struct TopologyDescription {
304304extension TopologyDescription : Equatable {
305305 public static func == ( lhs: TopologyDescription , rhs: TopologyDescription ) -> Bool {
306306 // Compare everything except `error` it is always nil and `MongoError`s are not `Equatable`
307- return lhs. type == rhs. type &&
307+ lhs. type == rhs. type &&
308308 lhs. setName == rhs. setName &&
309309 lhs. maxSetVersion == rhs. maxSetVersion &&
310310 lhs. maxElectionId == rhs. maxElectionId &&
0 commit comments