From ae41e4fe91e3fb01f99a911b1b40850fbbd8c3f1 Mon Sep 17 00:00:00 2001 From: Matt Boran Date: Fri, 13 Nov 2020 12:13:56 -0500 Subject: [PATCH] Add missing `swift` annotation to a code block Just added a missing `swift` to a code block that stood out to me while referencing this document --- Documentation/ObservableCollections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ObservableCollections.md b/Documentation/ObservableCollections.md index aa744d81..27da70f9 100644 --- a/Documentation/ObservableCollections.md +++ b/Documentation/ObservableCollections.md @@ -30,7 +30,7 @@ names[1] = "Mark" // prints: array: ["Steve", "Mark"], diff: Updates: [1], pa Observable array can be mapped (`mapCollection`), filtered (`filterCollection`) or sorted (`sortedCollection`). For example, if we map our array -``` +```swift names.mapCollection { $0.count }.observeNext { e in print("array: \(e.collection), diff: \(e.diff), patch: \(e.patch)") }