From bbae03dfe363b7a1d3b57c5d6fb1ccd3174976f8 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 17 Jan 2025 09:21:43 -0600 Subject: [PATCH] Remove some unnecessary trait bounds from PortId ArgParser --- crates/cli/cli-components/src/impls/parse/identifier.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/cli/cli-components/src/impls/parse/identifier.rs b/crates/cli/cli-components/src/impls/parse/identifier.rs index 63f047fd7..a4f0d696b 100644 --- a/crates/cli/cli-components/src/impls/parse/identifier.rs +++ b/crates/cli/cli-components/src/impls/parse/identifier.rs @@ -1,7 +1,7 @@ use core::marker::PhantomData; -use core::str::FromStr; use cgp::prelude::*; +use ibc::core::host::types::error::IdentifierError; use ibc::core::host::types::identifiers::PortId; use crate::traits::parse::ArgParser; @@ -12,9 +12,9 @@ pub struct ParsePortId(pub PhantomData); impl ArgParser for ParsePortId where - App: CanRaiseAsyncError, + App: CanRaiseAsyncError, Args: HasField, - Parsed: Async + FromStr, + Parsed: Async, { type Parsed = PortId;