Prechádzať zdrojové kódy

Fix copy/paste in comment that has the wrong thing. (#1815)

Thomas Van Lenten 8 mesiacov pred
rodič
commit
044207d7f6

+ 1 - 1
Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift

@@ -158,7 +158,7 @@ extension Google_Protobuf_Duration {
     public init(timeInterval: TimeInterval) {
         self.init(rounding: timeInterval, rule: .toNearestOrAwayFromZero)
     }
-    #endif  // !REMOVE_LEGACY_NAMEMAP_INITIALIZERS
+    #endif  // !REMOVE_DEPRECATED_APIS
 
     /// Creates a new `Google_Protobuf_Duration` that is equal to the given
     /// `TimeInterval` (measured in seconds), rounded to the nearest nanosecond