MCPcopy Create free account
hub / github.com/HFQR/xitca-web / parse

Method parse

codegen/src/route.rs:224–230  ·  view source on GitHub ↗
(input: ParseStream)

Source from the content-addressed store, hash-verified

222
223impl Parse for Args {
224 fn parse(input: ParseStream) -> Result<Self, Error> {
225 let vars = Punctuated::<syn::Expr, syn::Token![,]>::parse_terminated(input)?;
226
227 Ok(Args {
228 vars: vars.into_iter().collect(),
229 })
230 }
231}

Callers 1

finishMethod · 0.45

Calls 2

collectMethod · 0.80
into_iterMethod · 0.45

Tested by

no test coverage detected