Skip to content

Commit 72cb2ec

Browse files
committed
cargo-manifest: Adjust to API changes
1 parent 5a43769 commit 72cb2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates_io_tarball/src/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl<T: IsInherited> IsInherited for Option<T> {
7474

7575
impl IsInherited for Dependency {
7676
fn is_inherited(&self) -> bool {
77-
matches!(self, Dependency::Detailed(detail) if detail.workspace.unwrap_or(false))
77+
matches!(self, Dependency::Inherited(_))
7878
}
7979
}
8080

0 commit comments

Comments
 (0)