From 4f814137b2e69c5d291abd970ae563a1084485c9 Mon Sep 17 00:00:00 2001 From: Ivan Krivosheev Date: Thu, 22 Jul 2021 15:22:42 +0300 Subject: [PATCH] feat: cargo fmt --- src/scanner.rs | 2 +- tests/tests.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scanner.rs b/src/scanner.rs index beeca5e..560f4e9 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -4,8 +4,8 @@ use std::path::Path; pub use yara_sys::scan_flags::*; -use crate::{compiler::CompilerVariableValue, errors::*, internals, Rule, rules::Rules}; pub use crate::internals::{CallbackMsg, CallbackReturn}; +use crate::{compiler::CompilerVariableValue, errors::*, internals, rules::Rules, Rule}; /// A wrapper around compiled [Rules], with its own set of external variables, flags and timeout. /// diff --git a/tests/tests.rs b/tests/tests.rs index 96d9dfc..b45b86d 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,8 +1,8 @@ extern crate yara; use yara::{ - CallbackMsg, CallbackReturn, ConfigName, CompileErrorLevel, Compiler, Error, Metadata, MetadataValue, - Rules, Yara, + CallbackMsg, CallbackReturn, CompileErrorLevel, Compiler, ConfigName, Error, Metadata, + MetadataValue, Rules, Yara, }; use yara_sys;