Fixed out-of-sync `// MARK - …` comments

This commit is contained in:
Vincent Esche 2019-08-19 22:44:20 +02:00
parent 00ad6b254a
commit df03db0fd9
1 changed files with 4 additions and 2 deletions

View File

@ -47,13 +47,15 @@ public struct Vector<Scalar> where Scalar: FloatingPoint, Scalar: ExpressibleByF
}
}
// MARK: - ExpressibleByArrayLiteral
extension Vector: ExpressibleByArrayLiteral {
public init(arrayLiteral elements: Scalar...) {
self.init(elements)
}
}
// MARK: - Printable
// MARK: - CustomStringConvertible
extension Vector: CustomStringConvertible {
public var description: String {
@ -61,7 +63,7 @@ extension Vector: CustomStringConvertible {
}
}
// MARK: - SequenceType
// MARK: - Sequence
extension Vector: Sequence {
public func makeIterator() -> AnyIterator<Scalar> {