Skip to content

Commit 0130407

Browse files
committed
Make FloatingPoint imply Hashable. SR-4132.
1 parent 0939e87 commit 0130407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/FloatingPoint.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ word_bits = int(CMAKE_SIZEOF_VOID_P) * 8
168168
/// "out of \(tempsFahrenheit.count) observations.")
169169
/// // Prints "Average: 74.84°F in 5 out of 7 observations."
170170
public protocol FloatingPoint: Comparable, Arithmetic,
171-
SignedNumber, Strideable {
171+
SignedNumber, Strideable, Hashable {
172172

173173
/// A type that represents any written exponent.
174174
associatedtype Exponent: SignedInteger

0 commit comments

Comments
 (0)