Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchen1991 committed Dec 20, 2023
1 parent 9a9a0e3 commit fa3ad80
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ibc-core/ics24-host/types/src/identifiers/chain_id.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
use crate::error::IdentifierError;
use crate::validate::{
validate_identifier_chars, validate_identifier_length, validate_prefix_length,
};

use core::fmt::{self, Debug, Display, Error as FmtError, Formatter};
use core::str::FromStr;

use ibc_primitives::prelude::*;

#[cfg(feature = "serde")]
use serde::de::{Deserialize, Deserializer, Error, MapAccess, Visitor};

use crate::error::IdentifierError;
use crate::validate::{
validate_identifier_chars, validate_identifier_length, validate_prefix_length,
};

/// Defines the domain type for chain identifiers.
///
/// A valid `ChainId` follows the format {chain name}-{revision number} where
Expand Down

0 comments on commit fa3ad80

Please sign in to comment.