Remove more unneeded Clone
bounds
This commit is contained in:
parent
901af8de3f
commit
c831c5749a
11 changed files with 35 additions and 35 deletions
|
@ -6,12 +6,12 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Element)]
|
||||
pub struct ProjectPanel<S: 'static + Send + Sync + Clone> {
|
||||
pub struct ProjectPanel<S: 'static + Send + Sync> {
|
||||
id: ElementId,
|
||||
state_type: PhantomData<S>,
|
||||
}
|
||||
|
||||
impl<S: 'static + Send + Sync + Clone> ProjectPanel<S> {
|
||||
impl<S: 'static + Send + Sync> ProjectPanel<S> {
|
||||
pub fn new(id: impl Into<ElementId>) -> Self {
|
||||
Self {
|
||||
id: id.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue