mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-26 02:11:56 +00:00
remove requirement for type args on subcommand
This commit is contained in:
@@ -119,7 +119,7 @@ fn make_api<C: Context>() -> ParentHandler<C> {
|
||||
donde: String,
|
||||
}
|
||||
ParentHandler::<C>::new()
|
||||
.subcommand::<C, _>(
|
||||
.subcommand(
|
||||
"echo",
|
||||
from_fn_async(
|
||||
|c: ServerContext, EchoParams { next }: EchoParams| async move {
|
||||
|
||||
Reference in New Issue
Block a user