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

Give references about self_referencing in 1.2 Merge Iterator #109

Open
ppdogg opened this issue Dec 19, 2024 · 1 comment
Open

Give references about self_referencing in 1.2 Merge Iterator #109

ppdogg opened this issue Dec 19, 2024 · 1 comment

Comments

@ppdogg
Copy link
Contributor

ppdogg commented Dec 19, 2024

It took me quite a while to know how MemTableIterator::new is generated and the reason to pass a closeur/fn as parameter

Since in the text, you've already mentioned ouroboros, I think it is reasonable and understandable to provide the link below:

https://docs.rs/ouroboros/latest/ouroboros/attr.self_referencing.html

@skyzh
Copy link
Owner

skyzh commented Dec 20, 2024

Thanks for the suggestion :) I'll update the book

@ppdogg ppdogg closed this as completed Dec 21, 2024
@skyzh skyzh reopened this Dec 29, 2024
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

No branches or pull requests

2 participants