Skip to content

Commit 8599fa8

Browse files
authored
Fix initializing of gregorian calendar in documentation (#95)
1 parent ad2bdf7 commit 8599fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Dependencies/DependencyValues/Calendar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extension DependencyValues {
1010
/// ```swift
1111
/// // Provision model with overridden dependencies
1212
/// let model = withDependencies {
13-
/// $0.calendar = .gregorian
13+
/// $0.calendar = Calendar(identifier: .gregorian)
1414
/// } operation: {
1515
/// FeatureModel()
1616
/// }

0 commit comments

Comments
 (0)