diff --git a/src/clob/order_builder.rs b/src/clob/order_builder.rs index 956ca0eb..ca072935 100644 --- a/src/clob/order_builder.rs +++ b/src/clob/order_builder.rs @@ -469,7 +469,7 @@ impl OrderBuilder { } } -/// Removes trailing zeros, truncates to [`USDC_DECIMALS`] decimal places, and quanitizes as an +/// Removes trailing zeros, truncates to [`USDC_DECIMALS`] decimal places, and quantizes as an /// integer. fn to_fixed_u128(d: Decimal) -> u128 { d.normalize() diff --git a/src/clob/ws/client.rs b/src/clob/ws/client.rs index d18d45c8..5b6092c6 100644 --- a/src/clob/ws/client.rs +++ b/src/clob/ws/client.rs @@ -227,7 +227,7 @@ impl Client { /// Subscribes to real-time tick size change events for specified assets. /// - /// Returns a stream of tick size change when the backend adjusts the minimum + /// Returns a stream of tick size changes when the backend adjusts the minimum /// price increment for an asset. /// /// # Arguments @@ -390,7 +390,7 @@ impl Client { /// Unsubscribe from orderbook updates for specific assets. /// - /// This decrements the reference count for each asset. The server unsubscribe + /// This decrements the reference count for each asset. The server unsubscribe request /// is only sent when no other subscriptions are using those assets. pub fn unsubscribe_orderbook(&self, asset_ids: &[U256]) -> Result<()> { self.inner @@ -401,7 +401,7 @@ impl Client { /// Unsubscribe from price changes for specific assets. /// - /// This decrements the reference count for each asset. The server unsubscribe + /// This decrements the reference count for each asset. The server unsubscribe request /// is only sent when no other subscriptions are using those assets. pub fn unsubscribe_prices(&self, asset_ids: &[U256]) -> Result<()> { self.unsubscribe_orderbook(asset_ids) @@ -409,7 +409,7 @@ impl Client { /// Unsubscribe from tick size change updates for specific assets. /// - /// This decrements the reference count for each asset. The server unsubscribe + /// This decrements the reference count for each asset. The server unsubscribe request /// is only sent when no other subscriptions are using those assets. pub fn unsubscribe_tick_size_change(&self, asset_ids: &[U256]) -> Result<()> { self.unsubscribe_orderbook(asset_ids) @@ -417,7 +417,7 @@ impl Client { /// Unsubscribe from midpoint updates for specific assets. /// - /// This decrements the reference count for each asset. The server unsubscribe + /// This decrements the reference count for each asset. The server unsubscribe request /// is only sent when no other subscriptions are using those assets. pub fn unsubscribe_midpoints(&self, asset_ids: &[U256]) -> Result<()> { self.unsubscribe_orderbook(asset_ids)