Skip to content

Commit 4e90cbc

Browse files
nmdiasgithub-actions[bot]
authored andcommitted
Run format.sh
1 parent 4b5e548 commit 4e90cbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/FeedKitTests/FeedKitTestable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protocol FeedKitTestable {
4949
/// - directory: The directory in which the file will be saved (e.g.,
5050
/// `.documentDirectory`).
5151
/// - fileName: The name of the file to be saved.
52-
func save<T: Codable>(_ object: T, to directory: FileManager.SearchPathDirectory, as fileName: String)
52+
func save(_ object: some Codable, to directory: FileManager.SearchPathDirectory, as fileName: String)
5353
}
5454

5555
extension FeedKitTestable {

Tests/XMLKitTests/XMLKitTestable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protocol XMLKitTestable {
4949
/// - directory: The directory in which the file will be saved (e.g.,
5050
/// `.documentDirectory`).
5151
/// - fileName: The name of the file to be saved.
52-
func save<T: Codable>(_ object: T, to directory: FileManager.SearchPathDirectory, as fileName: String)
52+
func save(_ object: some Codable, to directory: FileManager.SearchPathDirectory, as fileName: String)
5353
}
5454

5555
extension XMLKitTestable {

0 commit comments

Comments
 (0)