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

document how to make non-utf8 byte vectors with bytes!(…) #7102

Closed
iampiyush opened this issue Jun 13, 2013 · 2 comments
Closed

document how to make non-utf8 byte vectors with bytes!(…) #7102

iampiyush opened this issue Jun 13, 2013 · 2 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@iampiyush
Copy link

This behaviour should be explained in documentation.

use of bytes!("hell", 0xc0, 0xca, "o!") instead of bytes!("hell\xc0\xca\o1!")

@catamorphism
Copy link
Contributor

(bug triage) No updates.

@Valloric
Copy link
Contributor

Valloric commented Mar 4, 2014

I just encountered the same issue of needing exactly what bytes! provides, but couldn't find it in the docs since it wasn't there.

bors added a commit that referenced this issue 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 as completed in 84f43c6 May 21, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 22, 2021
Switch transmute_ptr_to_ptr to "pedantic" class.

Per discussion in rust-lang/rust-clippy#6372, this lint has significant false positives.

changelog: transmute_ptr_to_ptr defaults to "allow".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants