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

doc: document handling of dynamically sized types #364

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

jsha
Copy link
Collaborator

@jsha jsha commented Nov 16, 2023

Following up on the conversation in #341 (comment) about how to handle Arc<dyn Foo> in the Rustls API. I decided to document this in the CONTRIBUTING.md; we can link to this sub-heading as needed.

@jsha jsha requested a review from cpu November 16, 2023 23:21
Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

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

This looks great! I just had a couple small nits to flag.

I think extensive coverage of the try_xxx macros is probably too much detail, but maybe it would be worth a brief mention of their existence to direct an interested reader to their location in lib.rs? WDYT?

@jsha
Copy link
Collaborator Author

jsha commented Nov 17, 2023

I think extensive coverage of the try_xxx macros is probably too much detail, but maybe it would be worth a brief mention of their existence to direct an interested reader to their location in lib.rs? WDYT?

This is a good idea but I don't think it's tightly bound to the DSTs explanation so I'll do it in a followup.

@jsha jsha merged commit 1d037c0 into main Nov 17, 2023
@jsha jsha deleted the document-dst branch November 17, 2023 21:52
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