Skip to content

Commit 044207d

Browse files
authored
Fix copy/paste in comment that has the wrong thing. (#1815)
1 parent 3037b9b commit 044207d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ extension Google_Protobuf_Duration {
158158
public init(timeInterval: TimeInterval) {
159159
self.init(rounding: timeInterval, rule: .toNearestOrAwayFromZero)
160160
}
161-
#endif // !REMOVE_LEGACY_NAMEMAP_INITIALIZERS
161+
#endif // !REMOVE_DEPRECATED_APIS
162162

163163
/// Creates a new `Google_Protobuf_Duration` that is equal to the given
164164
/// `TimeInterval` (measured in seconds), rounded to the nearest nanosecond

0 commit comments

Comments
 (0)