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

Byte slices ignore display hints when they appear behind a Format impl #318

Closed
japaric opened this issue Dec 18, 2020 · 0 comments · Fixed by #321
Closed

Byte slices ignore display hints when they appear behind a Format impl #318

japaric opened this issue Dec 18, 2020 · 0 comments · Fixed by #321
Labels
type: bug Something isn't working
Milestone

Comments

@japaric
Copy link
Member

japaric commented Dec 18, 2020

These two lines should print the same but don't.

defmt::info!("{=[u8]:a}", bytes); // -> INFO b"Hi"
defmt::info!("{:a}", bytes);      // -> INFO [72, 105]
@japaric japaric added the type: bug Something isn't working label Dec 18, 2020
@japaric japaric added this to the v0.2.0 milestone Jan 5, 2021
@bors bors bot closed this as completed in 5786287 Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant