Skip to content
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

Remove redundant reserve call #674

Merged
merged 4 commits into from
Mar 4, 2024

Commits on Mar 2, 2024

  1. Remove redundant reserve call.

    1. put_u8 calls put_slice
    2. BytesMut::put_slice calls BytesMut::extend_from_slice
    3. BytesMut::extend_from_slice immediately calls reserve
    braddunbar committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    869c3b4 View commit details
    Browse the repository at this point in the history
  2. remove inline-able todo

    reserve is already inline-able
    braddunbar committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    0211037 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c040374 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Configuration menu
    Copy the full SHA
    76dae7b View commit details
    Browse the repository at this point in the history