File tree 2 files changed +6
-5
lines changed
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 {
90
90
}
91
91
}
92
92
93
- impl SystemSet for Interned < dyn SystemSet > {
93
+ impl SystemSet for InternedSystemSet {
94
94
fn system_type ( & self ) -> Option < TypeId > {
95
95
( * * self ) . system_type ( )
96
96
}
@@ -115,10 +115,7 @@ impl SystemSet for Interned<dyn SystemSet> {
115
115
Some ( self . 0 )
116
116
}
117
117
118
- fn intern ( & self ) -> InternedSystemSet
119
- where
120
- Self : Sized ,
121
- {
118
+ fn intern ( & self ) -> Self {
122
119
* self
123
120
}
124
121
}
Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ macro_rules! define_label {
155
155
fn dyn_static_ref( & self ) -> Option <& ' static dyn $label_trait_name> {
156
156
Some ( self . 0 )
157
157
}
158
+
159
+ fn intern( & self ) -> Self {
160
+ * self
161
+ }
158
162
}
159
163
160
164
impl PartialEq for dyn $label_trait_name {
You can’t perform that action at this time.
0 commit comments