Skip to content

Commit

Permalink
Follow SwiftFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed May 20, 2020
1 parent 175f5da commit 18282b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/XMLCoderTests/CombineTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ private struct Foo: Codable {
}

final class CustomEncoder: XMLEncoder {
override func encode<T>(_ value: T) throws -> Data where T : Encodable {
return try self.encode(value, withRootKey: "bar", rootAttributes: nil, header: nil)
override func encode<T>(_ value: T) throws -> Data where T: Encodable {
return try encode(value, withRootKey: "bar", rootAttributes: nil, header: nil)
}
}

Expand Down

0 comments on commit 18282b5

Please sign in to comment.