File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub trait SystemSet: Debug + Send + Sync + 'static {
9090 }
9191}
9292
93- impl SystemSet for Interned < dyn SystemSet > {
93+ impl SystemSet for InternedSystemSet {
9494 fn system_type ( & self ) -> Option < TypeId > {
9595 ( * * self ) . system_type ( )
9696 }
@@ -115,10 +115,7 @@ impl SystemSet for Interned<dyn SystemSet> {
115115 Some ( self . 0 )
116116 }
117117
118- fn intern ( & self ) -> InternedSystemSet
119- where
120- Self : Sized ,
121- {
118+ fn intern ( & self ) -> Self {
122119 * self
123120 }
124121}
Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ macro_rules! define_label {
155155 fn dyn_static_ref( & self ) -> Option <& ' static dyn $label_trait_name> {
156156 Some ( self . 0 )
157157 }
158+
159+ fn intern( & self ) -> Self {
160+ * self
161+ }
158162 }
159163
160164 impl PartialEq for dyn $label_trait_name {
You can’t perform that action at this time.
0 commit comments