mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Adopt primary associated types in the stdlib
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
/// // Prints "false"
|
||||
/// print(allowedMoves.rawValue & Directions.right.rawValue)
|
||||
/// // Prints "0"
|
||||
public protocol RawRepresentable {
|
||||
public protocol RawRepresentable<RawValue> {
|
||||
/// The raw type that can be used to represent all values of the conforming
|
||||
/// type.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user