mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Add crossbeam channel router leaf example
This commit is contained in:
@@ -253,7 +253,9 @@ fn expand_invocation(
|
||||
}})
|
||||
}
|
||||
|
||||
fn split_endpoint_arg<'a>(inputs: &[&'a FnArg]) -> Result<(Option<EndpointArgKind>, Vec<&'a FnArg>)> {
|
||||
fn split_endpoint_arg<'a>(
|
||||
inputs: &[&'a FnArg],
|
||||
) -> Result<(Option<EndpointArgKind>, Vec<&'a FnArg>)> {
|
||||
let Some(first) = inputs.first() else {
|
||||
return Ok((None, Vec::new()));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user