Skip to content

Commit

Permalink
remove try_from impl for ComponentDependencies
Browse files Browse the repository at this point in the history
Signed-off-by: karthik2804 <[email protected]>
  • Loading branch information
karthik2804 committed Sep 19, 2024
1 parent 0af7cd9 commit 672a4e4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/manifest/src/schema/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,6 @@ pub struct ComponentDependencies {
pub inner: Map<DependencyName, ComponentDependency>,
}

impl TryFrom<Map<DependencyName, ComponentDependency>> for ComponentDependencies {
type Error = anyhow::Error;

fn try_from(value: Map<DependencyName, ComponentDependency>) -> Result<Self, Self::Error> {
Ok(ComponentDependencies { inner: value })
}
}

impl ComponentDependencies {
/// This method validates the correct specification of dependencies in a
/// component section of the manifest. See the documentation on the methods
Expand Down

0 comments on commit 672a4e4

Please sign in to comment.