Skip to content

Commit 31ad22d

Browse files
committed
Make Numeric.Magnitude conform to Numeric
1 parent 9d2c9be commit 31ad22d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: stdlib/public/core/Integers.swift.gyb

+1-3
Original file line numberDiff line numberDiff line change
@@ -989,11 +989,9 @@ public protocol Numeric : Equatable, ExpressibleByIntegerLiteral {
989989
/// - Parameter source: A value to convert to this type.
990990
init?<T : BinaryInteger>(exactly source: T)
991991

992-
// FIXME(ABI)#44 (Recursive Protocol Constraints): should be just
993-
// Numeric, Comparable
994992
/// A type that can represent the absolute value of any possible value of the
995993
/// conforming type.
996-
associatedtype Magnitude : Comparable, ExpressibleByIntegerLiteral
994+
associatedtype Magnitude : Comparable, Numeric
997995

998996
/// The magnitude of this value.
999997
///

0 commit comments

Comments
 (0)