Skip to content

Commit

Permalink
Remove some unnecessary trait bounds from PortId ArgParser
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchen1991 committed Jan 17, 2025
1 parent edd565b commit bbae03d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cli/cli-components/src/impls/parse/identifier.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -12,9 +12,9 @@ pub struct ParsePortId<Parsed>(pub PhantomData<Parsed>);

impl<App, Args, Tag, Parsed> ArgParser<App, Args, Tag> for ParsePortId<Parsed>
where
App: CanRaiseAsyncError<Parsed::Err>,
App: CanRaiseAsyncError<IdentifierError>,
Args: HasField<Tag, Value = String>,
Parsed: Async + FromStr,
Parsed: Async,
{
type Parsed = PortId;

Expand Down

0 comments on commit bbae03d

Please sign in to comment.