-
Notifications
You must be signed in to change notification settings - Fork 46
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
Using AsRef<[u8]> in Arguments #6
Comments
I think you mean |
@jswrenn You're right. I forgot the slice notation in my comment :) Updated. |
Has anybody started working on this? I'm interested in contributing to this project and the |
Hey folks! Sorry I've been silent on this issue; I've been swamped with other stuff. @gsquire I did see your submission. I'll be honest, I'm kinda on the fence about this in general. I agree that, in general, taking I'm happy to hear alternative perspectives on this, though! |
All good! I made this issue as more of a question than anything. Thanks for sharing your input though. I can close my patch and this issue unless anyone has a more salient point than I do. |
Please don't think of this as me shutting this down - it's just my opinion. And in any case, even if we end up deciding to close this, we'd love to have your contributions on other issues! There's much work to be done :) |
This may have been a conscious choice to avoid but I wanted to see if it makes sense to use some type that implements
AsRef<[u8]>
in place of&[u8]
? This would make it easy for users to supply&str
orString
in addition to&[u8]
when calling functions. I thought this would be in line with the idea that mundane is intended to be easy to use.The text was updated successfully, but these errors were encountered: