Skip to content

Commit 6fa139b

Browse files
authored
Merge pull request #18 from Gankro/master
remove spurious ?Sized bound
2 parents 1a933af + f680164 commit 6fa139b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vec-layout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct Unique<T> {
5252
unsafe impl<T: Send> Send for Unique<T> {}
5353
unsafe impl<T: Sync> Sync for Unique<T> {}
5454

55-
impl<T: ?Sized> Unique<T> {
55+
impl<T> Unique<T> {
5656
pub fn new(ptr: *mut T) -> Self {
5757
Unique { ptr: ptr, _marker: PhantomData }
5858
}

0 commit comments

Comments
 (0)