Merge pull request #49 from c0dehu1k/misktake-45

Re-arranging some words , Mistake-45
This commit is contained in:
Teiva Harsanyi 2023-10-06 12:33:20 +02:00 committed by GitHub
commit 3226cf97f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1028,7 +1028,7 @@ When using named result parameters, we must recall that each parameter is initia
???+ info "TL;DR"
When returning an interface, be cautious about returning not a nil pointer but an explicit nil value. Otherwise, unintended consequences may result because the caller will receive a non-nil value.
When returning an interface, be cautious about not returning a nil pointer but an explicit nil value. Otherwise, unintended consequences may occur and the caller will receive a non-nil value.
<!-- TODO -->