Skip to content

Conversation

jaamesd
Copy link

@jaamesd jaamesd commented Sep 8, 2025

No description provided.

@jaamesd jaamesd changed the title Add non mut spare_capacity(). Add non mut BytesMut::spare_capacity(). Sep 8, 2025
@Darksonn
Copy link
Contributor

Darksonn commented Sep 8, 2025

If we're going to have this, surely it should return a slice?

@jaamesd
Copy link
Author

jaamesd commented Sep 12, 2025

good point

Comment on lines 1119 to 1121
}
/// Returns the remaining spare capacity of the buffer.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add an empty line between functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants