Add missing ?Sized for TransparentWrapperAlloc extension trait (#185)

* Add missing `?Sized` for `TransparentWrapperAlloc` extension trait

* chore: Release bytemuck version 1.13.2
This commit is contained in:
Daniel Henry-Mantilla 2023-06-06 23:48:41 +02:00 committed by GitHub
parent df5262b19c
commit e528c1662f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "bytemuck"
description = "A crate for mucking around with piles of bytes."
version = "1.13.1"
version = "1.13.2"
authors = ["Lokathor <zefria@gmail.com>"]
repository = "https://github.com/Lokathor/bytemuck"
readme = "README.md"

View File

@ -685,4 +685,5 @@ pub trait TransparentWrapperAlloc<Inner: ?Sized>:
}
}
}
impl<I: ?Sized, T: TransparentWrapper<I>> TransparentWrapperAlloc<I> for T {}
impl<I: ?Sized, T: ?Sized + TransparentWrapper<I>> TransparentWrapperAlloc<I> for T {}