Skip to content

Commit

Permalink
Improve doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbean committed Aug 7, 2018
1 parent 9baa9c4 commit 6bed532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Sources/DataStructures/SortedArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public struct SortedArray <Element: Comparable>:
SortedCollectionWrapping
{

// MARK: - Instance Properties

/// Underlying storage of elements contained herein.
public var base: [Element] = []

Expand Down
4 changes: 2 additions & 2 deletions Sources/DataStructures/SortedDictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extension SortedDictionary: Equatable where Value: Equatable { }

extension SortedDictionary: Collection {

// MARK: - `Collection`
// MARK: - Collection

/// Index after the given `index`.
public func index(after index: Int) -> Int {
Expand Down Expand Up @@ -140,7 +140,7 @@ extension SortedDictionary {

extension SortedDictionary: ExpressibleByDictionaryLiteral {

// MARK: - `ExpressibleByDictionaryLiteral`
// MARK: - ExpressibleByDictionaryLiteral

/// Create a `SortedDictionary` with a `DictionaryLiteral`.
public init(dictionaryLiteral elements: (Key, Value)...) {
Expand Down

0 comments on commit 6bed532

Please sign in to comment.