Remove more unneeded Clone bounds

This commit is contained in:
Marshall Bowers 2023-10-20 11:32:10 -04:00
parent 901af8de3f
commit c831c5749a
11 changed files with 35 additions and 35 deletions

View file

@ -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(),