Skip to content

Commit 81949a6

Browse files
committed
pr 11294
1 parent 0d8b40c commit 81949a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sol-macro-gen/src/sol_macro_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl MultiSolMacroGen {
6060

6161
pub fn populate_expansion(&mut self, bindings_path: &Path) -> Result<()> {
6262
for instance in &mut self.instances {
63-
let path = bindings_path.join(format!("{}.rs", instance.name.to_lowercase()));
63+
let path = bindings_path.join(format!("{}.rs", instance.name.to_snake_case()));
6464
let expansion = fs::read_to_string(path).wrap_err("Failed to read file")?;
6565

6666
let tokens = TokenStream::from_str(&expansion)

0 commit comments

Comments
 (0)