From 909afc0233dbb7cfbd1ea340d1631bce3df62267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 24 Oct 2021 17:05:10 +0200 Subject: [PATCH] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8452c6f66..102160d7b 100644 --- a/README.md +++ b/README.md @@ -6215,8 +6215,8 @@ let sharedObservation = ValueObservation > :point_up: **Note**: `ValueObservation` and `SharedValueObservation` are nearly identical, but there are a few differences you should be aware of: > > - `SharedValueObservation` has no [operator](#valueobservation-operators) such as `map`. As a replacement, you may use Combine apis: -> -> `swift` +> +> ```swift > let sharedObservation = ValueObservation.tracking { ... }.shared(in: dbQueue) > let cancellable = try sharedObservation > .publisher() // Turn shared observation into a Combine Publisher