-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tour: #42 (Mutating Maps) redundant explanation #7500
Comments
Labels changed: added repo-tour. Owner changed to @adg. Status changed to Accepted. |
These are not exactly equivalent, as the first sentence refers to the two-value assignment, and the second refers to a read ( Perhaps something like this would feel less echo-y:
|
How about just this:
|
Yeah, on re-reading it, I think that would work. At first glance it seems like it might only refer to the example immediately above, but it's pretty safe to assume that people will infer that the behavior is the same for the read as for the two-value assignment. I'll make the change. |
Thanks! On 8 October 2015 at 16:59, Katrina Owen notifications@github.com wrote:
|
The duplication is not exact. The first reference is to the two-value assignment, and the second sentence refers to reads. However, it is fairly safe to assume that readers will infer that the explanation is valid for both contexts. Fixes golang/go#7500 Change-Id: I93903c0be27099ced34a6808cdb4f0a65dc5f2e6 Reviewed-on: https://go-review.googlesource.com/15602 Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: 258270064d09854eec74df7efae0fa1e2e24607b
The duplication is not exact. The first reference is to the two-value assignment, and the second sentence refers to reads. However, it is fairly safe to assume that readers will infer that the explanation is valid for both contexts. Fixes golang/go#7500 Change-Id: I93903c0be27099ced34a6808cdb4f0a65dc5f2e6 Reviewed-on: https://go-review.googlesource.com/15602 Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: 258270064d09854eec74df7efae0fa1e2e24607b
The duplication is not exact. The first reference is to the two-value assignment, and the second sentence refers to reads. However, it is fairly safe to assume that readers will infer that the explanation is valid for both contexts. Fixes golang/go#7500 Change-Id: I93903c0be27099ced34a6808cdb4f0a65dc5f2e6 Reviewed-on: https://go-review.googlesource.com/15602 Reviewed-by: Andrew Gerrand <adg@golang.org>
by oneorjuan:
The text was updated successfully, but these errors were encountered: