Skip to content

Commit 672a4e4

Browse files
committed
remove try_from impl for ComponentDependencies
Signed-off-by: karthik2804 <[email protected]>
1 parent 0af7cd9 commit 672a4e4

File tree

1 file changed

+0
-8
lines changed
  • crates/manifest/src/schema

1 file changed

+0
-8
lines changed

crates/manifest/src/schema/v2.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,6 @@ pub struct ComponentDependencies {
203203
pub inner: Map<DependencyName, ComponentDependency>,
204204
}
205205

206-
impl TryFrom<Map<DependencyName, ComponentDependency>> for ComponentDependencies {
207-
type Error = anyhow::Error;
208-
209-
fn try_from(value: Map<DependencyName, ComponentDependency>) -> Result<Self, Self::Error> {
210-
Ok(ComponentDependencies { inner: value })
211-
}
212-
}
213-
214206
impl ComponentDependencies {
215207
/// This method validates the correct specification of dependencies in a
216208
/// component section of the manifest. See the documentation on the methods

0 commit comments

Comments
 (0)