You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With specialization on the horizon, I think #26 will obviate the need for this encode! macro. In the longer term, I'd prefer a syntax extension for this rather than a procedural macro, so I don't think it's worth investing more time in this macro.
The
encode!
macro should return anEncoding
without any unsafe blocks, instead of returning astr
like it currently does.It currently allows creating some invalid encodings that would have to be fixed:
encode!() == ""
encode!(u8, u8) == "CC"
The text was updated successfully, but these errors were encountered: