Unverified Commit c0f343d4 authored by David's avatar David Committed by GitHub
Browse files

Add a method to RpcModule that transforms the module into a `RpcModule<()>`,...


Add a method to RpcModule that transforms the module into a `RpcModule<()>`, i.e. removes the context. (#660)

* Add a method to RpcModule, `decontextualize`, that transforms the module into a `RpcModule<()>`, i.e. removes the context.

* Merging a module with an empty module cannot fail

* fmt

* Address grumbles

* Cleanup macro

* Update core/src/server/rpc_module.rs

Co-authored-by: default avatarMaciej Hirsz <[email protected]>

Co-authored-by: default avatarMaciej Hirsz <[email protected]>
parent 9bd21274
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment