Skip to content

Commit 455f80b

Browse files
authored
Update dependency.rs
Typo due to copypasta
1 parent ab75a4b commit 455f80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/dependency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ impl Dependency {
437437
self.matches_id(sum.package_id())
438438
}
439439

440-
/// Returns `true` if the package (`sum`) can fulfill this dependency request.
440+
/// Returns `true` if the package (`id`) can fulfill this dependency request.
441441
pub fn matches_ignoring_source(&self, id: PackageId) -> bool {
442442
self.package_name() == id.name() && self.version_req().matches(id.version())
443443
}

0 commit comments

Comments
 (0)