Skip to content

Commit cc49db3

Browse files
authored
Fix obsolete detail on StackElementID documentation (#3509)
1 parent f6ae757 commit cc49db3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift

+2-4
Original file line numberDiff line numberDiff line change
@@ -686,10 +686,8 @@ public struct _StackReducer<Base: Reducer, Destination: Reducer>: Reducer {
686686
/// resorting to positional indices, which can be error prone, especially when dealing with async
687687
/// effects.
688688
///
689-
/// In production environments (e.g. in Xcode previews, simulators and on devices) the identifier
690-
/// is backed by a randomly generated UUID, but in tests a deterministic, generational ID is used.
691-
/// This allows you to predict how IDs will be created and allows you to write tests for how
692-
/// features behave in the stack.
689+
/// The identifier is backed by a deterministic, generational ID. This allows you to predict how
690+
/// IDs will be created and allows you to write tests for how features behave in the stack.
693691
///
694692
/// ```swift
695693
/// @Test

0 commit comments

Comments
 (0)