Skip to content

Commit 01623f3

Browse files
committed
Merge branch 'source' of github.com:nshint/nshint.github.io into source
2 parents f9f4547 + fa2bdb4 commit 01623f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_posts/2019-07-15-complete-flows-partial-models.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ guard let name = formData.name,
6363

6464
From a domain perspective, that `return` doesn't make any sense.
6565

66-
One could argue that it's "save" to force unwrap in this case, or that there are [already a nice approach to this problem](https://www.swiftbysundell.com/posts/handling-non-optional-optionals-in-swift).
66+
One could argue that it's "safe" to force unwrap in this case, or that there is [already a nice approach to this problem](https://www.swiftbysundell.com/posts/handling-non-optional-optionals-in-swift).
6767

6868
One may say, _"we can raise an error to the user"_ or _"we could track it and check if users are getting stuck somehow"_. But, at the end of the day, this is not a good solution because you know that when the flow ends, you have all the values.
6969

0 commit comments

Comments
 (0)