We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2f2b6d commit f04ddc5Copy full SHA for f04ddc5
src/cargo/sources/path.rs
@@ -256,10 +256,6 @@ impl<'gctx> RecursivePathSource<'gctx> {
256
Ok(self.packages.clone())
257
}
258
259
- fn read_packages_inner(&self) -> CargoResult<Vec<Package>> {
260
- read_packages(&self.path, self.source_id, self.gctx)
261
- }
262
-
263
/// List all files relevant to building this package inside this source.
264
///
265
/// 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
self.loaded = true;
298
299
0 commit comments