Skip to content

Commit

Permalink
yara_x::Rules -> Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin5605 committed Jul 27, 2024
1 parent f4dd697 commit b89fb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pub fn scan_all_distributions(
/// # Arguments
/// * `path` - The path corresponding to this file
/// * `rules` - The compiled rule set to scan this file against
fn scan_file(file: &mut impl Read, path: &Path, rules: &yara_x::Rules) -> Result<FileScanResult> {
fn scan_file(file: &mut impl Read, path: &Path, rules: &Rules) -> Result<FileScanResult> {
let mut buffer = Vec::new();
file.read_to_end(&mut buffer)?;

Expand Down

0 comments on commit b89fb00

Please sign in to comment.