@@ -3,7 +3,7 @@ use crate::module_group::ModuleGroup;
33use crate :: {
44 code_gen:: CodeGenContext ,
55 ir:: body:: BodyIrGenerator ,
6- ir:: file_group:: FileGroupIR ,
6+ ir:: file_group:: FileGroupIr ,
77 ir:: { function, type_table:: TypeTable } ,
88 value:: Global ,
99} ;
@@ -13,7 +13,7 @@ use std::collections::{BTreeMap, HashMap, HashSet};
1313
1414/// The IR generated for a single source file.
1515#[ derive( Debug , Clone , Eq , PartialEq ) ]
16- pub struct FileIR < ' ink > {
16+ pub struct FileIr < ' ink > {
1717 /// The LLVM module that contains the IR
1818 pub llvm_module : Module < ' ink > ,
1919 /// The `hir::Function`s that constitute the file's API.
@@ -23,9 +23,9 @@ pub struct FileIR<'ink> {
2323/// Generates IR for the specified file.
2424pub ( crate ) fn gen_file_ir < ' db , ' ink > (
2525 code_gen : & CodeGenContext < ' db , ' ink > ,
26- group_ir : & FileGroupIR < ' ink > ,
26+ group_ir : & FileGroupIr < ' ink > ,
2727 module_group : & ModuleGroup ,
28- ) -> FileIR < ' ink > {
28+ ) -> FileIr < ' ink > {
2929 let llvm_module = code_gen. context . create_module ( & module_group. name ) ;
3030
3131 let hir_types = & code_gen. hir_types ;
@@ -124,5 +124,5 @@ pub(crate) fn gen_file_ir<'db, 'ink>(
124124 . filter ( |& f| module_group. should_export_fn ( code_gen. db , f) )
125125 . collect ( ) ;
126126
127- FileIR { llvm_module, api }
127+ FileIr { llvm_module, api }
128128}
0 commit comments