mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-31 12:43:39 +00:00
remove dbg
This commit is contained in:
@@ -286,7 +286,7 @@ where
|
||||
{
|
||||
type H = H;
|
||||
fn handler_for<C: crate::Context>(self) -> Option<DynHandler<C, Inherited>> {
|
||||
if dbg!(TypeId::of::<Context>()) == dbg!(TypeId::of::<C>()) {
|
||||
if TypeId::of::<Context>() == TypeId::of::<C>() {
|
||||
Some(unsafe {
|
||||
std::mem::transmute::<DynHandler<Context, Inherited>, DynHandler<C, Inherited>>(
|
||||
DynHandler(Arc::new(AnyHandler::new(self.handler))),
|
||||
|
||||
Reference in New Issue
Block a user