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

Relax Sized bounds where easily possible #98

Merged
merged 3 commits into from
Dec 22, 2021
Merged

Relax Sized bounds where easily possible #98

merged 3 commits into from
Dec 22, 2021

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Dec 22, 2021

To prepare for extern types, precursor to #73.

@madsmtm madsmtm added the enhancement New feature or request label Dec 22, 2021
@@ -202,7 +202,7 @@ auto_trait! {
}

#[cfg(not(feature = "unstable_autoreleasesafe"))]
unsafe impl<T> AutoreleaseSafe for T {}
unsafe impl<T: ?Sized> AutoreleaseSafe for T {}
Copy link
Owner Author

Choose a reason for hiding this comment

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

This improves usability even without extern type!

@madsmtm madsmtm merged commit 04087bb into master Dec 22, 2021
@madsmtm madsmtm deleted the unsized branch December 22, 2021 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant