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

fix test #362

Merged
merged 1 commit into from
Nov 26, 2018
Merged

fix test #362

merged 1 commit into from
Nov 26, 2018

Conversation

andy128k
Copy link
Contributor

Borrowing doesn't work because of Arc::new inside of register_function. It requires ownership.
This commit fixes a test and shows how to have a function with shared state.

@Keats Keats merged commit a28ae4c into Keats:v1 Nov 26, 2018
@Keats
Copy link
Owner

Keats commented Nov 26, 2018

I see, thanks a lot!

@andy128k andy128k deleted the fix-test branch November 26, 2018 19:02
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.

2 participants