-
Notifications
You must be signed in to change notification settings - Fork 790
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
tag! and byte arrays #54
Comments
Well, you can do Could you wait a bit? I'm writing the AsBytes implementation for fixed length arrays. |
Of course 😄 |
There are lots of cases like this in language development, any time something has a fixed number of components, like tuples or function arguments. Oddly, it is easier to handle an array of unknown length. |
I just published nom 0.3.7, this should work now. Let me know if you need anything else! |
works like a charm, thanks! |
What is the correct way to use tag! with a fixed byte array?
tag!([42u8, 42u8])
fails, as AsBytes is not implemented for[u8; 2]
.The text was updated successfully, but these errors were encountered: