Skip to content

Commit 7b139b4

Browse files
committed
Fix typo
1 parent a8ec2bb commit 7b139b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/autorun-scan/src/raw/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn scan(signature: &[Option<u8>], target_module: Option<&str>) -> Result<Opt
3737
let _inode = entries[4];
3838
let path = entries.get(5); // Optional
3939

40-
if Some(target_module) = target_module {
40+
if let Some(target_module) = target_module {
4141
let module_path = path.unwrap_or(&"");
4242
let module_name = module_path.rsplit('/').next().unwrap_or("");
4343
if module_name != target_module {

0 commit comments

Comments
 (0)