Skip to content

Call reserve() in DeserializeSeed example#2240

Merged
dtolnay merged 1 commit intoserde-rs:masterfrom
Kixunil:patch-1
Jun 30, 2022
Merged

Call reserve() in DeserializeSeed example#2240
dtolnay merged 1 commit intoserde-rs:masterfrom
Kixunil:patch-1

Conversation

@Kixunil
Copy link
Copy Markdown
Contributor

@Kixunil Kixunil commented Jun 30, 2022

This suggests calling reserve() in example code so that people who ~blindly copy it get faster code.

This suggests calling `reserve()` in example code so that people who ~blindly copy it get faster code.
Copy link
Copy Markdown
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 6c098e4 into serde-rs:master Jun 30, 2022
@Kixunil Kixunil deleted the patch-1 branch June 30, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants