-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AppendEmpty and deprecate Append for slices (#2970)
This change helps with initialization: * Lots of places where we used Resize(1). Some left to limit the PR. * Lots of places where New followed by Append, this is equivalent with AppendEmpty. Append is marked as deprecated, but we need to evaluate if we can change all calls to AppendEmpty, or we need to revert the deprecation. The current goal is to remove it if possible. Signed-off-by: Bogdan Drutu <[email protected]>
- Loading branch information
1 parent
5e14135
commit b8dccfc
Showing
36 changed files
with
493 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.