diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 97163aab8d..2ce225114c 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -388,7 +388,7 @@ jobs: working-directory: rust/sys - run: cargo fmt --check working-directory: rust/derive - - run: rustfmt --check rust/src/dns/*.rs + - run: rustfmt --check rust/src/dns/*.rs rust/src/applayertemplate/*.rs - name: Check if Cargo.lock.in is up to date run: | cp rust/Cargo.lock rust/Cargo.lock.in diff --git a/rust/src/applayertemplate/template.rs b/rust/src/applayertemplate/template.rs index 99e881f558..9daf342626 100644 --- a/rust/src/applayertemplate/template.rs +++ b/rust/src/applayertemplate/template.rs @@ -252,7 +252,8 @@ fn probe(input: &[u8]) -> nom::IResult<&[u8], ()> { nom::sequence::terminated( nom::bytes::complete::take_while1(|c: u8| c.is_dec_digit()), nom::bytes::complete::tag(":"), - ).parse(prefix)?; + ) + .parse(prefix)?; Ok((rem, ())) }