Skip to content

Commit

Permalink
Small changes after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ikelax committed Jan 31, 2025
1 parent 42211b9 commit 1b41f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Examples/PackageManager/Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
struct Package: Identifiable, Hashable {
let id: Int
let id: String
let name: String
let author: String
}
2 changes: 1 addition & 1 deletion Tests/Examples/SpreadSheet/SpreadSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ typealias SpreadSheet = DependencyGraph<Cell>

extension SpreadSheet {
// This should be in `DependencyGraph`.
func insert(cell: Cell, withDependencies dependencies: [Cell: Cell]) {
func insert(cell: Cell, withDependencies dependencies: [Cell]) {
// Call `insert` method in `DependencyGraph`.
// `inserts` also inserts the dependencies of `cell`
// and checks if circular dependencies would be introduced.
Expand Down

0 comments on commit 1b41f02

Please sign in to comment.