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

Have iter_from/iter_dup_from return a Result #7

Closed
wants to merge 2 commits into from

Conversation

tarcieri
Copy link
Contributor

It previously called unwrap() which panics if a key isn't found

@tarcieri
Copy link
Contributor Author

Note: I don't have a local devenv set up for this, so apologies if the tests don't pass

@tarcieri tarcieri force-pushed the iter-from-result branch 2 times, most recently from c1e8554 to 53bd225 Compare July 10, 2016 22:41
It previously called unwrap() which panics if a key isn't found
@tarcieri
Copy link
Contributor Author

Well, the tests pass now, but it could probably use a new test to ensure Error::NotFound is returned when given a nonexistent key.

@tarcieri tarcieri force-pushed the iter-from-result branch 2 times, most recently from c9c08c8 to 8799b2c Compare July 10, 2016 23:23
@danburkert
Copy link
Owner

CC #13. Forgot this PR existed when I re-filed that issue.

@danburkert
Copy link
Owner

Merged as part of #37

@danburkert danburkert closed this Aug 4, 2018
ncloudioj pushed a commit to ncloudioj/lmdb-rs that referenced this pull request Mar 13, 2019
prepare to publish on crates.io as lmdb-rkv package
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