aboutsummaryrefslogtreecommitdiff
path: root/doc/devel/weekly.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/devel/weekly.html')
-rw-r--r--doc/devel/weekly.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html
index 1847ab9151..783a182542 100644
--- a/doc/devel/weekly.html
+++ b/doc/devel/weekly.html
@@ -23,9 +23,9 @@ The language change is backwards-compatible.
Type elision in arrays, slices, or maps of composite literals has been
extended to include pointers to composite literals. Code like this
- var t = []&T{&T{}, &T{}}
+ var t = []*T{&T{}, &T{}}
may now be written as
- var t = []&T{{}, {}}
+ var t = []*T{{}, {}}
You can use gofmt -s to simplify such code.
The strconv package has been given a more idiomatic and efficient interface.