Merge pull request #18 from Gankro/master

remove spurious ?Sized bound
pull/19/head
Brian Anderson 8 years ago committed by GitHub
commit 6fa139b163

@ -52,7 +52,7 @@ struct Unique<T> {
unsafe impl<T: Send> Send for Unique<T> {}
unsafe impl<T: Sync> Sync for Unique<T> {}
impl<T: ?Sized> Unique<T> {
impl<T> Unique<T> {
pub fn new(ptr: *mut T) -> Self {
Unique { ptr: ptr, _marker: PhantomData }
}

Loading…
Cancel
Save