File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,6 @@ impl<R: Runtime> StoreBuilder<R> {
172
172
173
173
pub ( crate ) fn build_inner (
174
174
mut self ,
175
- load : bool ,
176
175
mut stores : MutexGuard < ' _ , HashMap < PathBuf , ResourceId > > ,
177
176
) -> crate :: Result < ( Arc < Store < R > > , ResourceId ) > {
178
177
if stores. contains_key ( & self . path ) {
@@ -229,7 +228,7 @@ impl<R: Runtime> StoreBuilder<R> {
229
228
230
229
pub ( crate ) fn create_inner ( self ) -> crate :: Result < ( Arc < Store < R > > , ResourceId ) > {
231
230
let stores = self . app . state :: < StoreState > ( ) . stores . clone ( ) ;
232
- self . build_inner ( false , stores. lock ( ) . unwrap ( ) )
231
+ self . build_inner ( stores. lock ( ) . unwrap ( ) )
233
232
}
234
233
235
234
/// Get the existing store with the same path or creates a new [`Store`].
@@ -259,7 +258,7 @@ impl<R: Runtime> StoreBuilder<R> {
259
258
return Ok ( ( self . app . resources_table ( ) . get ( * rid) . unwrap ( ) , * rid) ) ;
260
259
}
261
260
262
- self . build_inner ( true , stores_)
261
+ self . build_inner ( stores_)
263
262
}
264
263
}
265
264
You can’t perform that action at this time.
0 commit comments