diff --git a/telepath-server/README.md b/telepath-server/README.md index 1d18687..c540d79 100644 --- a/telepath-server/README.md +++ b/telepath-server/README.md @@ -51,7 +51,7 @@ Both methods are non-blocking and return the number of bytes transferred. pub struct CommandMetadata { pub name: &'static str, pub id: u16, - pub invoke: ShimFn, // fn(&[u8], &mut [u8], &ResourceRegistry) -> Result + pub invoke: ShimFn, // fn(&[u8], &mut [u8], &ResourceRegistry) -> Result pub args_schema: SchemaFn, // fn(&mut [u8]) -> Result pub ret_schema: SchemaFn, // fn(&mut [u8]) -> Result pub arg_names: &'static str, // comma-separated, e.g. "a,b"