Skip to content

Commit

Permalink
Better comments in sample projects
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed authored Dec 28, 2024
1 parent 0eb4ed0 commit 1028470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import SafeDI
import Subproject
import SwiftUI

// @Instantiable macro marks this type as capable of being instantiated by SafeDI.
// @Instantiable macro marks this type as capable of being instantiated by SafeDI. The `isRoot` parameter marks this type as being the root of the dependency tree.
@Instantiable(isRoot: true)
@MainActor
@main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Combine
import SafeDI
import SwiftUI

// @Instantiable macro marks this type as capable of being instantiated by SafeDI.
// @Instantiable macro marks this type as capable of being instantiated by SafeDI. The `isRoot` parameter marks this type as being the root of the dependency tree.
@Instantiable(isRoot: true)
@MainActor
@main
Expand Down

0 comments on commit 1028470

Please sign in to comment.