-
Notifications
You must be signed in to change notification settings - Fork 50
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
Implement From<Box<T>> for Gc<T> #160
Conversation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
57ab408
to
adaa615
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly looks good but i would like some doc and safety comments (even for internal functions)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This is especially useful on nightly, where it works for unsized trait objects. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Added documentation and comments; how’s this? (I note that |
Thanks! |
This is especially useful on nightly, where it works for unsized trait objects.
(Unsized slices cannot be supported with the current design, as there’s no conversion from
[T]
todyn Trace
: #2 (comment).)Fixes #72.