mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Fix comment of _ColorLiteralConvertible, NFC.
Swift SVN r31847
This commit is contained in:
@@ -198,7 +198,7 @@ public protocol StringInterpolationConvertible {
|
||||
|
||||
#if SWIFT_ENABLE_OBJECT_LITERALS
|
||||
/// Conforming types can be initialized with color literals (e.g.
|
||||
/// `[#Color(colorLiteralRed: 1, blue: 0, green: 0, alpha: 1)#]`).
|
||||
/// `[#Color(colorLiteralRed: 1, green: 0, blue: 0, alpha: 1)#]`).
|
||||
public protocol _ColorLiteralConvertible {
|
||||
init(colorLiteralRed: Float, green: Float, blue: Float, alpha: Float)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user