Skip to content

Commit

Permalink
Update middleware documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitamounier committed Feb 26, 2021
1 parent 54367b9 commit 6f0bcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RecombinePackage/Middleware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public struct Middleware<State, Input, Output> {
/// switch action {
/// case let findCurrentLocation(service):
/// CLLocationManager.currentLocationPublisher(service: service)
/// .map(LocationModel(location: $0))
/// .map { LocationModel(location: $0) }
/// .flatMap { location in
/// statePublisher.map { _ in
/// return .setLocation(to: location)
Expand Down

0 comments on commit 6f0bcac

Please sign in to comment.