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 non-utf8 byte to the bytes!() example #14305

Closed
wants to merge 1 commit into from

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented May 20, 2014

Only an example was needed, as the ability to write uints into the string is
already mentioned.

Fix #7102.

Only an example was needed, as the ability to write uints into the string is
already mentioned.

Fix rust-lang#7102.
@lilyball
Copy link
Contributor

This isn't a uint. This is a u8. bytes!() doesn't accept uints.

bors added a commit that referenced this pull request May 21, 2014
Only an example was needed, as the ability to write uints into the string is
already mentioned.

Fix #7102.
@bors bors closed this May 21, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Mar 13, 2023
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.

document how to make non-utf8 byte vectors with bytes!(…)
4 participants