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

Update namespaces / constructors to accept &str #170

Closed
maurolacy opened this issue Dec 11, 2020 · 0 comments · Fixed by #173
Closed

Update namespaces / constructors to accept &str #170

maurolacy opened this issue Dec 11, 2020 · 0 comments · Fixed by #173
Assignees

Comments

@maurolacy
Copy link
Contributor

Update all the namespaces in all the constructors in storage-plus to accept &str.

We can still store &[u8] internally (maybe change that later), but at least the constructor is simpler.
As &str.as_bytes() is a const fn, we can do this in a const constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant