From acc4bbf6282c8c4538c7f20fe64fb1da0dff4b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 23 Nov 2016 17:21:37 +0100 Subject: [PATCH] Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e742937da..b5aa176f2 100644 --- a/README.md +++ b/README.md @@ -5184,12 +5184,12 @@ var persistentDictionary: [String: DatabaseValueConvertible?] { } ``` -> :warning: **Warning**: it is important that you use the `updateValue` method, and not the subscript setter: +> :point_up: **Note**: it is important that you use the `updateValue` method, and not the subscript setter: > > ```swift > // GOOD > dict.updateValue(a, forKey: "a") -> // BAD: when the value is nil, this does nothing and HGRD +> // BAD: when the value is nil, this erases the key instead of setting it to nil. > dict["a"] = a > ```