Skip to content

Commit b0551ee

Browse files
committed
formatting changes
1 parent 62ac89b commit b0551ee

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ let package = Package(
127127
"ProcessInfo/CMakeLists.txt",
128128
"FileManager/CMakeLists.txt",
129129
"URL/CMakeLists.txt",
130-
"ProgressReporter/CMakeLists.txt"
130+
"ProgressReporter/CMakeLists.txt",
131131
],
132132
cSettings: [
133133
.define("_GNU_SOURCE", .when(platforms: [.linux]))

Sources/FoundationInternationalization/ProgressReporter/ProgressReporter+FormatStyle.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extension ProgressReporter {
2121
// Outlines the options available to format ProgressReporter
2222
internal struct Option: Sendable, Codable, Hashable, Equatable {
2323

24-
/// Option specifying`fractionCompleted`.
24+
/// Option specifying `fractionCompleted`.
2525
///
2626
/// For example, 20% completed.
2727
/// - Parameter style: A `FloatingPointFormatStyle<Double>.Percent` instance that should be used to format `fractionCompleted`.
@@ -129,3 +129,6 @@ extension FormatStyle where Self == ProgressReporter.FormatStyle {
129129
.init(.count(format: format))
130130
}
131131
}
132+
133+
134+
ProgressReporter.FormatStyle.fractionCompleted().format(<#T##reporter: ProgressReporter##ProgressReporter#>)

0 commit comments

Comments
 (0)