stdlib: fix coding style

This commit is contained in:
Dmitri Gribenko
2016-02-23 14:00:46 -08:00
parent f0633ce5a9
commit ffeec94ea4
2 changed files with 15 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ public protocol ReverseIndexProtocol : BidirectionalIndex {
/// A type that can represent the number of steps between pairs of
/// `ReverseIndex` values where one value is reachable from the other.
associatedtype Distance: _SignedInteger = Base.Distance
associatedtype Distance : _SignedInteger = Base.Distance
/// The successor position in the underlying (un-reversed)
/// collection.
@@ -49,7 +49,7 @@ extension BidirectionalIndex where Self : ReverseIndexProtocol {
/// A wrapper for a `BidirectionalIndex` that reverses its
/// direction of traversal.
public struct ReverseIndex<Base: BidirectionalIndex>
public struct ReverseIndex<Base : BidirectionalIndex>
: BidirectionalIndex, ReverseIndexProtocol {
public typealias Distance = Base.Distance