Skip to content

Commit

Permalink
Update copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
bdewey committed Jan 5, 2021
1 parent e179760 commit 98466e3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .swiftformat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--binarygrouping none
--decimalgrouping none
--exclude Package.swift
--header "Copyright © 2019-present Brian's Brain. All rights reserved."
--header "Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license."
--hexgrouping none
--indent 2
--octalgrouping none
Expand Down
2 changes: 1 addition & 1 deletion Sources/SpacedRepetitionScheduler/CardAnswer.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import Foundation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import Foundation

Expand All @@ -19,9 +19,9 @@ public extension Comparable {
}
}

extension Array where Element == (key: CardAnswer, value: SpacedRepetitionScheduler.Item) {
public extension Array where Element == (key: CardAnswer, value: SpacedRepetitionScheduler.Item) {
/// A convenience for searching through a (small) array of keys / values
public subscript(_ answer: CardAnswer) -> SpacedRepetitionScheduler.Item? {
subscript(_ answer: CardAnswer) -> SpacedRepetitionScheduler.Item? {
for (candidateAnswer, item) in self {
if candidateAnswer == answer { return item }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import Foundation

Expand Down
2 changes: 1 addition & 1 deletion Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import XCTest

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import SpacedRepetitionScheduler
import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/SpacedRepetitionSchedulerTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2019-present Brian's Brain. All rights reserved.
// Copyright © 2020 Brian Dewey. Covered by the Apache 2.0 license.

import XCTest

Expand Down

0 comments on commit 98466e3

Please sign in to comment.