Skip to content

Commit 64f1024

Browse files
committed
Fix clippy warning
1 parent 7226c92 commit 64f1024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

derive/src/compile_bytecode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl CompilationSource {
109109
format!("Error reading file {:?}: {}", path, err),
110110
)
111111
})?;
112-
let file_name_splitte: Vec<&str> = file_name.splitn(2, ".").collect();
112+
let file_name_splitte: Vec<&str> = file_name.splitn(2, '.').collect();
113113
let module_name = format!("{}{}", parent, file_name_splitte[0]);
114114
code_map.insert(
115115
module_name.clone(),

0 commit comments

Comments
 (0)