Skip to content

Commit 680b310

Browse files
committed
remove ProgressManager prefix for Values and Property
1 parent 87ee9ae commit 680b310

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Proposals/0023-progress-manager.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ extension ProgressManager {
10481048

10491049
/// Reads properties that convey additional information about progress.
10501050
public func withProperties<T, E: Error>(
1051-
_ closure: (sending ProgressManager.Values) throws(E) -> sending T
1051+
_ closure: (sending Values) throws(E) -> sending T
10521052
) throws(E) -> T
10531053

10541054
/// Returns a summary for a custom integer property across the progress subtree.
@@ -1059,7 +1059,7 @@ extension ProgressManager {
10591059
/// - Parameter property: The type of the integer property to summarize. Must be a property
10601060
/// where both the value and summary types are `Int`.
10611061
/// - Returns: An `Int` summary value for the specified property.
1062-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> Int where P.Value == Int, P.Summary == Int
1062+
public func summary<P: Property>(of property: P.Type) -> Int where P.Value == Int, P.Summary == Int
10631063

10641064
/// Returns a summary for a custom unsigned integer property across the progress subtree.
10651065
///
@@ -1069,7 +1069,7 @@ extension ProgressManager {
10691069
/// - Parameter property: The type of the unsigned integer property to summarize. Must be a property
10701070
/// where both the value and summary types are `UInt64`.
10711071
/// - Returns: An `UInt64` summary value for the specified property.
1072-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> UInt64 where P.Value == UInt64, P.Summary == UInt64
1072+
public func summary<P: Property>(of property: P.Type) -> UInt64 where P.Value == UInt64, P.Summary == UInt64
10731073

10741074
/// Returns a summary for a custom unsigned integer property across the progress subtree.
10751075
///
@@ -1079,7 +1079,7 @@ extension ProgressManager {
10791079
/// - Parameter property: The type of the unsigned integer property to summarize. Must be a property
10801080
/// where the value type is `UInt64` and the summary type is `[UInt64]`.
10811081
/// - Returns: A `[UInt64]` summary value for the specified property.
1082-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> [UInt64] where P.Value == UInt64, P.Summary == [UInt64]
1082+
public func summary<P: Property>(of property: P.Type) -> [UInt64] where P.Value == UInt64, P.Summary == [UInt64]
10831083

10841084
/// Returns a summary for a custom duration property across the progress subtree.
10851085
///
@@ -1089,7 +1089,7 @@ extension ProgressManager {
10891089
/// - Parameter property: The type of the duration property to summarize. Must be a property
10901090
/// where both the value and summary types are `Duration`.
10911091
/// - Returns: An `Duraton` summary value for the specified property.
1092-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> Duration where P.Value == Duration, P.Summary == Duration
1092+
public func summary<P: Property>(of property: P.Type) -> Duration where P.Value == Duration, P.Summary == Duration
10931093

10941094
/// Returns a summary for a custom double property across the progress subtree.
10951095
///
@@ -1099,7 +1099,7 @@ extension ProgressManager {
10991099
/// - Parameter property: The type of the double property to summarize. Must be a property
11001100
/// where both the value and summary types are `Double`.
11011101
/// - Returns: A `Double` summary value for the specified property.
1102-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> Double where P.Value == Double, P.Summary == Double
1102+
public func summary<P: Property>(of property: P.Type) -> Double where P.Value == Double, P.Summary == Double
11031103

11041104
/// Returns a summary for a custom string property across the progress subtree.
11051105
///
@@ -1109,7 +1109,7 @@ extension ProgressManager {
11091109
/// - Parameter property: The type of the string property to summarize. Must be a property
11101110
/// where both the value type is `String?` and the summary type is `[String?]`.
11111111
/// - Returns: A `[String?]` summary value for the specified property.
1112-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> [String?] where P.Value == String?, P.Summary == [String?]
1112+
public func summary<P: Property>(of property: P.Type) -> [String?] where P.Value == String?, P.Summary == [String?]
11131113

11141114

11151115
/// Returns a summary for a custom URL property across the progress subtree.
@@ -1120,7 +1120,7 @@ extension ProgressManager {
11201120
/// - Parameter property: The type of the URL property to summarize. Must be a property
11211121
/// where the value type is `URL?` and the summary type is `[URL?]`.
11221122
/// - Returns: A `[URL?]` summary value for the specified property.
1123-
public func summary<P: ProgressManager.Property>(of property: P.Type) -> [URL?] where P.Value == URL?, P.Summary == [URL?]
1123+
public func summary<P: Property>(of property: P.Type) -> [URL?] where P.Value == URL?, P.Summary == [URL?]
11241124
}
11251125
```
11261126

0 commit comments

Comments
 (0)