We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11221d8 commit 169ed58Copy full SHA for 169ed58
stdlib/public/core/Integers.swift
@@ -1903,12 +1903,12 @@ extension BinaryInteger {
1903
#if !$Embedded
1904
public typealias _LosslessStringConvertibleOrNone = LosslessStringConvertible
1905
#else
1906
-public typealias _LosslessStringConvertibleOrNone = Any
+public protocol _LosslessStringConvertibleOrNone {}
1907
#endif
1908
1909
public protocol FixedWidthInteger: BinaryInteger, _LosslessStringConvertibleOrNone
1910
where Magnitude: FixedWidthInteger & UnsignedInteger,
1911
- Stride: FixedWidthInteger & SignedInteger, Stride.Stride == Stride {
+ Stride: FixedWidthInteger & SignedInteger {
1912
/// The number of bits used for the underlying binary representation of
1913
/// values of this type.
1914
///
0 commit comments