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

Add some functions for Bytes #899

Merged
merged 6 commits into from
Jan 5, 2025
Merged

Add some functions for Bytes #899

merged 6 commits into from
Jan 5, 2025

Conversation

traceflight
Copy link
Contributor

Hi @udoprog, this pr updates some functions of Bytes.

  1. Adds push, remove, insert, index_get, index_set functions.
  2. Registers first function, it seems that it was forgotten to be registered.

@udoprog udoprog added the enhancement New feature or request label Jan 5, 2025
@udoprog
Copy link
Collaborator

udoprog commented Jan 5, 2025

Hi and thanks!

The error is just a line ending at the end of the script, you can format them the way Rune wants it like this:

cargo run --bin rune -- fmt --verbose --recursive scripts

@udoprog udoprog merged commit 1a7a406 into rune-rs:main Jan 5, 2025
25 checks passed
@udoprog
Copy link
Collaborator

udoprog commented Jan 5, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants