Skip to content

Commit

Permalink
remove ?Sized bound
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed Sep 13, 2024
1 parent d60f12b commit 23be7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ impl_wrapper!(Box<T>; using Ref{} Mut{} From{ new });
impl_wrapper!(std::borrow::Cow<'_, T>; (T: ?Sized + ToOwned<Owned = T>); using Ref{} From{ Owned });
impl_wrapper!(std::rc::Rc<T>; using Ref{} From{ new });
impl_wrapper!(std::sync::Arc<T>; using Ref{} From{ new });
impl_wrapper!(core::cell::Cell<T>; (T: ?Sized + Copy); using Ref{ .get() } Mut{ .get_mut() } From{ new });
impl_wrapper!(core::cell::Cell<T>; (T: Copy); using Ref{ .get() } Mut{ .get_mut() } From{ new });

0 comments on commit 23be7e3

Please sign in to comment.