File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -256,10 +256,6 @@ impl<'gctx> RecursivePathSource<'gctx> {
256
256
Ok ( self . packages . clone ( ) )
257
257
}
258
258
259
- fn read_packages_inner ( & self ) -> CargoResult < Vec < Package > > {
260
- read_packages ( & self . path , self . source_id , self . gctx )
261
- }
262
-
263
259
/// List all files relevant to building this package inside this source.
264
260
///
265
261
/// This function will use the appropriate methods to determine the
@@ -293,7 +289,7 @@ impl<'gctx> RecursivePathSource<'gctx> {
293
289
/// Discovers packages inside this source if it hasn't yet done.
294
290
pub fn load ( & mut self ) -> CargoResult < ( ) > {
295
291
if !self . loaded {
296
- self . packages = self . read_packages_inner ( ) ?;
292
+ self . packages = read_packages ( & self . path , self . source_id , self . gctx ) ?;
297
293
self . loaded = true ;
298
294
}
299
295
You can’t perform that action at this time.
0 commit comments