Fix commas that should be periods in docs (#2267)

This commit is contained in:
Jesse Tipton
2023-07-07 22:36:50 -07:00
committed by GitHub
parent af16494b9e
commit 745bc10361
2 changed files with 7 additions and 7 deletions

View File

@@ -287,7 +287,7 @@ extension WithViewStore where Content: View {
/// All changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - fromViewAction: A function that transforms view actions into store action.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State, Action>(
_ store: Store<State, Action>,
@@ -326,7 +326,7 @@ extension WithViewStore where Content: View {
/// - toViewState: A function that transforms binding store state into observable view state.
/// All changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State>(
_ store: Store<State, ViewAction>,

View File

@@ -245,7 +245,7 @@ public struct WithViewStore<ViewState, ViewAction, Content: View>: View {
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - fromViewAction: A function that transforms view actions into store action.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State, Action>(
_ store: Store<State, Action>,
@@ -334,7 +334,7 @@ public struct WithViewStore<ViewState, ViewAction, Content: View>: View {
/// - toViewState: A function that transforms store state into observable view state. All
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State>(
_ store: Store<State, ViewAction>,
@@ -367,7 +367,7 @@ public struct WithViewStore<ViewState, ViewAction, Content: View>: View {
/// - Parameters:
/// - store: A store.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
@available(
iOS,
@@ -505,7 +505,7 @@ extension WithViewStore where ViewState: Equatable, Content: View {
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - fromViewAction: A function that transforms view actions into store action.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State, Action>(
_ store: Store<State, Action>,
@@ -593,7 +593,7 @@ extension WithViewStore where ViewState: Equatable, Content: View {
/// - toViewState: A function that transforms store state into observable view state. All
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - isDuplicate: A function to determine when two `ViewState` values are equal. When values
/// are equal, repeat view computations are removed,
/// are equal, repeat view computations are removed.
/// - content: A function that can generate content from a view store.
public init<State>(
_ store: Store<State, ViewAction>,