[stdlib] Adopt primary associated types in the stdlib

This commit is contained in:
Karoy Lorentey
2022-05-09 18:06:17 -07:00
parent 6a08f1498a
commit 7a7ebd8970
17 changed files with 31 additions and 30 deletions

View File

@@ -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.
///