rust: format applayertemplate files

Ticket: 3836
This commit is contained in:
Philippe Antoine 2026-04-27 17:26:17 +02:00 committed by Victor Julien
parent d55114e6d7
commit 1ced97bdbb
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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, ()))
}