refactor: remove Sized bound
This commit is contained in:
parent
7c59b07b91
commit
1832d5637b
6 changed files with 6 additions and 8 deletions
|
|
@ -189,9 +189,7 @@ pub enum Icon {
|
|||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct DndSurface(
|
||||
pub Arc<Box<dyn HasWindowHandle + 'static + Send + Sync>>,
|
||||
);
|
||||
pub struct DndSurface(pub Arc<dyn HasWindowHandle + 'static + Send + Sync>);
|
||||
|
||||
impl Debug for DndSurface {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue