From ad0ec1c6244803fc5b5a3bf6ea38c1ed72ed5c42 Mon Sep 17 00:00:00 2001 From: Chralt98 Date: Tue, 2 Apr 2024 16:34:44 +0200 Subject: [PATCH] update documentation --- primitives/src/traits/hybrid_router_amm_api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/primitives/src/traits/hybrid_router_amm_api.rs b/primitives/src/traits/hybrid_router_amm_api.rs index 0320ffd7f..79df5f950 100644 --- a/primitives/src/traits/hybrid_router_amm_api.rs +++ b/primitives/src/traits/hybrid_router_amm_api.rs @@ -86,7 +86,7 @@ pub trait HybridRouterAmmApi { /// /// # Returns /// - /// Returns `Ok(())` if the buy is successful, or an error if the buy fails. + /// Returns information about the buy trade made. fn buy( who: Self::AccountId, market_id: Self::MarketId, @@ -126,7 +126,7 @@ pub trait HybridRouterAmmApi { /// /// # Returns /// - /// Returns `Ok(())` if the sell is successful, or an error if the sell fails. + /// Returns information about the sell trade made. fn sell( who: Self::AccountId, market_id: Self::MarketId,