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

Iterator #84

Merged
merged 5 commits into from
Oct 22, 2024
Merged

Iterator #84

merged 5 commits into from
Oct 22, 2024

Conversation

drystone
Copy link
Contributor

No description provided.

@drystone drystone marked this pull request as draft October 22, 2024 14:01
@drystone drystone marked this pull request as ready for review October 22, 2024 15:06
@@ -94,7 +94,7 @@ fn api_insert() {
let key = format!("key {}", n);
let value = format!("value {}", n);

db.try_insert(key.as_bytes(), value.as_bytes())
db.try_insert(key.as_bytes().to_vec(), value.as_bytes().to_vec())
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This becomes a bit ugly for normal user use... Will Into<[u8]> improve user ergonomics?

@jgarzik jgarzik merged commit 2e9fb01 into jgarzik:main Oct 22, 2024
2 checks passed
@drystone drystone deleted the iterator branch November 7, 2024 06:43
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