We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c710fc0 commit e58ab62Copy full SHA for e58ab62
crates/cargo-util-schemas/src/manifest/mod.rs
@@ -675,6 +675,10 @@ impl InheritableDependency {
675
InheritableDependency::Inherit(_) => Err(UnresolvedError),
676
}
677
678
+
679
+ pub fn is_inherited(&self) -> bool {
680
+ matches!(self, InheritableDependency::Inherit(_))
681
+ }
682
683
684
impl<'de> de::Deserialize<'de> for InheritableDependency {
0 commit comments