From 7d478d997620c0af41a6ffb8b3f29dc6dda2cb98 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 20 Sep 2021 15:00:31 +0200 Subject: Stricter Rust formating rules and build in the CI --- src/fw.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/fw.rs') diff --git a/src/fw.rs b/src/fw.rs index 0b07a12..e18a301 100644 --- a/src/fw.rs +++ b/src/fw.rs @@ -1,9 +1,11 @@ -use crate::messages; +use std::collections::HashSet; + use anyhow::{Context, Result}; use iptables; use log::*; use regex::Regex; -use std::collections::HashSet; + +use crate::messages; pub fn setup(ipt: &iptables::IPTables) -> Result<()> { // ensure we start from a clean state without any rule already set -- cgit v1.2.3