Skip to content

Commit

Permalink
fix examplex
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Sep 11, 2024
1 parent 25a3c8b commit 350420d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions primitives/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,10 @@ impl<T: Config, E: extrinsic_params::ExtrinsicParams<T::Index, T::Hash>> Config
/// # Example
///
/// ```
/// use ac_primitives::{ DefaultRuntimeConfig, WithAddress };
/// use ac_primitives::{ DefaultRuntimeConfig, WithAddress, MultiAddress, AccountId32 };
///
/// type WestendRuntimeConfig = WithAddress<DefaultRuntimeConfig, MyAddressType>;
/// type WestendRuntimeConfig = WithAddress<DefaultRuntimeConfig, MultiAddress<AccountId32, ()>>;
/// ```
#[derive(Decode, Encode, Clone, Eq, PartialEq, Debug)]
pub struct WithAddress<T, A>
where
Expand Down

0 comments on commit 350420d

Please sign in to comment.