File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ impl BindArgs {
206206 } )
207207 . collect :: < Vec < _ > > ( ) ;
208208
209- let multi = MultiSolMacroGen :: new ( artifacts , instances) ;
209+ let multi = MultiSolMacroGen :: new ( instances) ;
210210 eyre:: ensure!( !multi. instances. is_empty( ) , "No contract artifacts found" ) ;
211211 Ok ( multi)
212212 }
Original file line number Diff line number Diff line change @@ -49,13 +49,12 @@ impl SolMacroGen {
4949}
5050
5151pub struct MultiSolMacroGen {
52- pub artifacts_path : PathBuf ,
5352 pub instances : Vec < SolMacroGen > ,
5453}
5554
5655impl MultiSolMacroGen {
57- pub fn new ( artifacts_path : & Path , instances : Vec < SolMacroGen > ) -> Self {
58- Self { artifacts_path : artifacts_path . to_path_buf ( ) , instances }
56+ pub fn new ( instances : Vec < SolMacroGen > ) -> Self {
57+ Self { instances }
5958 }
6059
6160 pub fn populate_expansion ( & mut self , bindings_path : & Path ) -> Result < ( ) > {
You can’t perform that action at this time.
0 commit comments