Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix clippy warning
  • Loading branch information
palaviv committed Jul 22, 2019
commit 64f102450be3f87270092c13f171bf75df41b58a
2 changes: 1 addition & 1 deletion derive/src/compile_bytecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl CompilationSource {
format!("Error reading file {:?}: {}", path, err),
)
})?;
let file_name_splitte: Vec<&str> = file_name.splitn(2, ".").collect();
let file_name_splitte: Vec<&str> = file_name.splitn(2, '.').collect();
let module_name = format!("{}{}", parent, file_name_splitte[0]);
code_map.insert(
module_name.clone(),
Expand Down