Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Sep 26, 2023
1 parent 440e9aa commit d64cace
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/traits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ pub trait TokenSwaps<Account> {
/// implementor.
///
/// Example usage with `pallet_order_book` impl:
/// ```rust
/// ```ignore
/// OrderBook::place_order(
/// {AccountId},
/// CurrencyId::ForeignAsset(0),
Expand All @@ -491,7 +491,7 @@ pub trait TokenSwaps<Account> {
/// )
/// ```
/// Would return `Ok({OrderId}` and create the following order in storage:
/// ```rust
/// ```ignore
/// Order {
/// order_id: {OrderId},
/// placing_account: {AccountId},
Expand Down Expand Up @@ -523,7 +523,7 @@ pub trait TokenSwaps<Account> {
/// This Can fail for various reasons.
///
/// Example usage with `pallet_order_book` impl:
/// ```rust
/// ```ignore
/// OrderBook::update_order(
/// {AccountId},
/// {OrderId},
Expand All @@ -533,7 +533,7 @@ pub trait TokenSwaps<Account> {
/// )
/// ```
/// Would return `Ok(())` and update the following order in storage:
/// ```rust
/// ```ignore
/// Order {
/// order_id: {OrderId},
/// placing_account: {AccountId},
Expand Down

0 comments on commit d64cace

Please sign in to comment.