Skip to content

Commit

Permalink
failing doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 19, 2024
1 parent a9b8d8b commit 6542a23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ibc-core/ics24-host/types/src/identifiers/channel_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ impl AsRef<str> for ChannelId {
/// ```
/// use core::str::FromStr;
/// use ibc_core_host_types::identifiers::ChannelId;
/// let channel_id = ChannelId::from_str("channelId-0");
/// let channel_id = ChannelId::from_str("channel-0");
/// assert!(channel_id.is_ok());
/// channel_id.map(|id| {assert_eq!(&id, "channelId-0")});
/// channel_id.map(|id| {assert_eq!(&id, "channel-0")});
/// ```
impl PartialEq<str> for ChannelId {
fn eq(&self, other: &str) -> bool {
Expand Down
4 changes: 2 additions & 2 deletions ibc-core/ics24-host/types/src/identifiers/connection_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ impl FromStr for ConnectionId {
/// ```
/// use core::str::FromStr;
/// use ibc_core_host_types::identifiers::ConnectionId;
/// let conn_id = ConnectionId::from_str("connectionId-0");
/// let conn_id = ConnectionId::from_str("connection-0");
/// assert!(conn_id.is_ok());
/// conn_id.map(|id| {assert_eq!(&id, "connectionId-0")});
/// conn_id.map(|id| {assert_eq!(&id, "connection-0")});
/// ```
impl PartialEq<str> for ConnectionId {
fn eq(&self, other: &str) -> bool {
Expand Down

0 comments on commit 6542a23

Please sign in to comment.