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

Use string for wasm #1

Merged
merged 3 commits into from
Dec 8, 2019
Merged

Use string for wasm #1

merged 3 commits into from
Dec 8, 2019

Conversation

bokuweb
Copy link
Owner

@bokuweb bokuweb commented Dec 8, 2019

What does this change?

Remove lifetime parameter and use String instead of &'a str.
This is because we can not add &' static str for function parameter with wasm-bindgen
Pleaase see rustwasm/wasm-bindgen#1187.

References

rustwasm/wasm-bindgen#1187

Screenshots

None

What can I check for bug fixes?

None

@bokuweb bokuweb merged commit 73001dc into master Dec 8, 2019
@bokuweb bokuweb deleted the use-string-for-wasm branch December 8, 2019 19:14
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 this pull request may close these issues.

1 participant