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