CI: format rust code.
Some checks failed
semver Build semver has succeeded
cargo-fmt Build cargo-fmt has succeeded
build-organic-test Build build-organic-test has failed
organic-test Build organic-test has failed
build-cargo-fmt Build build-cargo-fmt has succeeded

This commit is contained in:
fluxcdbot 2023-07-13 23:22:10 +00:00
parent 14c20c4121
commit 999c992bdf

View File

@ -25,7 +25,14 @@ pub fn plain_link<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s s
let (remaining, path) = path_plain(context, remaining)?;
peek(parser_with_context!(post)(context))(remaining)?;
let source = get_consumed(input, remaining);
Ok((remaining, PlainLink { source, link_type: proto, path }))
Ok((
remaining,
PlainLink {
source,
link_type: proto,
path,
},
))
}
#[tracing::instrument(ret, level = "debug")]