Skip to content

Commit 5fbce50

Browse files
committed
fixed some references
1 parent 0b8d51a commit 5fbce50

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Sources/ComposableArchitecture/Dependencies/Dismiss.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extension DependencyValues {
7070
/// > // ...
7171
/// > }
7272
/// > XCTAssertEqual(isDismissInvoked.value, true)
73-
/// > ```
73+
/// > ```
7474
public struct DismissEffect: Sendable {
7575
var dismiss: (@MainActor @Sendable () -> Void)?
7676

Sources/ComposableArchitecture/Dependencies/IsPresented.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ extension DependencyValues {
55
/// This value is set to true on reducers that are run from within
66
/// ``ReducerProtocol/ifLet(_:action:destination:fileID:line:)`` and
77
/// ``ReducerProtocol/forEach(_:action:destination:fileID:line:)``.
8+
///
9+
/// See ``DismissEffect`` for more information on how child features can easily dismiss themselves
10+
/// without communicating to the parent.
811
public var isPresented: Bool {
912
self.dismiss.dismiss != nil
1013
}

Sources/ComposableArchitecture/Documentation.docc/Extensions/TestStore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- ``receive(_:timeout:assert:file:line:)-1rwdd``
2121
- ``receive(_:timeout:assert:file:line:)-8xkqt``
2222
- ``receive(_:timeout:assert:file:line:)-2ju31``
23-
- ``finish(timeout:file:line:)``
23+
- ``finish(timeout:file:line:)-43l4y``
2424
- ``TestStoreTask``
2525

2626
### Methods for skipping actions and effects

Sources/ComposableArchitecture/TestStore.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ public final class TestStore<State, Action, ScopedState, ScopedAction, Environme
545545
/// The default timeout used in all methods that take an optional timeout.
546546
///
547547
/// This is the default timeout used in all methods that take an optional timeout, such as
548-
/// ``receive(_:timeout:assert:file:line:)-1rwdd`` and ``finish(timeout:file:line:)``.
548+
/// ``receive(_:timeout:assert:file:line:)-1rwdd`` and ``finish(timeout:file:line:)-43l4y``.
549549
public var timeout: UInt64
550550

551551
private var _environment: Box<Environment>
@@ -2188,7 +2188,7 @@ extension TestStore {
21882188
/// await store.send(.stopTimerButtonTapped).finish()
21892189
/// ```
21902190
///
2191-
/// See ``TestStore/finish(timeout:file:line:)`` for the ability to await all in-flight
2191+
/// See ``TestStore/finish(timeout:file:line:)-43l4y`` for the ability to await all in-flight
21922192
/// effects in the test store.
21932193
///
21942194
/// See ``ViewStoreTask`` for the analog provided to ``ViewStore``.

0 commit comments

Comments
 (0)