This commit is contained in:
Aiden McClelland
2024-05-04 03:07:11 -06:00
parent 0603928164
commit 00d3ab7e70
2 changed files with 3 additions and 3 deletions

View File

@@ -605,9 +605,9 @@ where
{
type H = H;
fn handler_for<C: crate::Context>(self) -> Option<DynHandler<C, Inherited>> {
if TypeId::of::<C>() == TypeId::of::<RemoteContext>() {
if dbg!(TypeId::of::<C>()) == dbg!(TypeId::of::<RemoteContext>()) {
DynHandler::new(self.handler.handler.no_cli())
} else if TypeId::of::<C>() == TypeId::of::<Context>() {
} else if dbg!(TypeId::of::<C>()) == dbg!(TypeId::of::<Context>()) {
DynHandler::new(CallRemoteHandler::<Context, RemoteContext, _>::new(
self.handler.handler,
))