File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ macro_rules! pre_emit {
4343}
4444impl From < crate :: trap:: Label < generated:: AssocItem > > for crate :: trap:: Label < generated:: Item > {
4545 fn from ( value : crate :: trap:: Label < generated:: AssocItem > ) -> Self {
46- // SAFETY: this is safe because in the dbscheme Item is a subclass of Stmt
46+ // SAFETY: this is safe because every concrete instance of `@assoc_item` is also an instance of `@item`
4747 unsafe { Self :: from_untyped ( value. as_untyped ( ) ) }
4848 }
4949}
5050impl From < crate :: trap:: Label < generated:: ExternItem > > for crate :: trap:: Label < generated:: Item > {
5151 fn from ( value : crate :: trap:: Label < generated:: ExternItem > ) -> Self {
52- // SAFETY: this is safe because in the dbscheme Item is a subclass of Stmt
52+ // SAFETY: this is safe because every concrete instance of `@extern_item` is also an instance of `@item`
5353 unsafe { Self :: from_untyped ( value. as_untyped ( ) ) }
5454 }
5555}
You can’t perform that action at this time.
0 commit comments