This commit is contained in:
Marcus Scherer
2021-02-08 17:41:49 +01:00
committed by GitHub
parent 28993ae57d
commit 4fa5f48c19
+1 -1
View File
@@ -9,7 +9,7 @@ extension Publisher {
/// Wraps this publisher with a type eraser.
///
/// Use `eraseToAnyPublisher()` to expose an instance of `AnyPublishe`` to
/// Use `eraseToAnyPublisher()` to expose an instance of `AnyPublisher`` to
/// the downstream subscriber, rather than this publishers actual type.
/// This form of _type erasure_ preserves abstraction across API boundaries, such as
/// different modules.