Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/map-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Prefer `make(..)` for empty maps, and maps populated
programmatically. This makes map initialization visually
distinct from declaration, and it makes it easy to add size
hints later if available.
hints later, if available.

<table>
<thead><tr><th>Bad</th><th>Good</th></tr></thead>
Expand Down
2 changes: 1 addition & 1 deletion style.md
Original file line number Diff line number Diff line change
Expand Up @@ -3532,7 +3532,7 @@ sptr := &T{Name: "bar"}
Prefer `make(..)` for empty maps, and maps populated
programmatically. This makes map initialization visually
distinct from declaration, and it makes it easy to add size
hints later if available.
hints later, if available.

<table>
<thead><tr><th>Bad</th><th>Good</th></tr></thead>
Expand Down