From cc49db3cb635f7fa4fe0aaa606078381e53f5736 Mon Sep 17 00:00:00 2001 From: Pyry Jahkola Date: Tue, 3 Dec 2024 13:09:37 -0600 Subject: [PATCH] Fix obsolete detail on StackElementID documentation (#3509) --- .../Reducer/Reducers/StackReducer.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift b/Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift index d4f09f16b906..f100ec82d18e 100644 --- a/Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift +++ b/Sources/ComposableArchitecture/Reducer/Reducers/StackReducer.swift @@ -686,10 +686,8 @@ public struct _StackReducer: Reducer { /// resorting to positional indices, which can be error prone, especially when dealing with async /// effects. /// -/// In production environments (e.g. in Xcode previews, simulators and on devices) the identifier -/// is backed by a randomly generated UUID, but in tests a deterministic, generational ID is used. -/// This allows you to predict how IDs will be created and allows you to write tests for how -/// features behave in the stack. +/// The identifier is backed by a deterministic, generational ID. This allows you to predict how +/// IDs will be created and allows you to write tests for how features behave in the stack. /// /// ```swift /// @Test