ci: check cargo fmt for htp

pull/13361/head
Philippe Antoine 2 months ago committed by Victor Julien
parent 261d2ad63b
commit 7c88d37570

@ -108,5 +108,5 @@ jobs:
exit 1 exit 1
fi fi
# does not work in other subdirectories for now # does not work in other subdirectories for now
- run: cargo fmt - run: cargo fmt --check
working-directory: rust/htp working-directory: rust/htp

@ -6,11 +6,9 @@
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
#![allow(non_upper_case_globals)] #![allow(non_upper_case_globals)]
// Allow unknown lints, our MSRV doesn't know them all, for // Allow unknown lints, our MSRV doesn't know them all, for
// example static_mut_refs. // example static_mut_refs.
#![allow(unknown_lints)] #![allow(unknown_lints)]
// Requires MSRV of 1.74 to fix. // Requires MSRV of 1.74 to fix.
#![allow(clippy::io_other_error)] #![allow(clippy::io_other_error)]

Loading…
Cancel
Save