Remove unused lifetime in Account::new_order()

This commit is contained in:
Dirkjan Ochtman 2024-02-12 15:44:48 +01:00
parent 0e67ae2e9d
commit 10ee80b0bb
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ impl Account {
/// Create a new order based on the given [`NewOrder`]
///
/// Returns an [`Order`] instance. Use the [`Order::state()`] method to inspect its state.
pub async fn new_order<'a>(&'a self, order: &NewOrder<'_>) -> Result<Order, Error> {
pub async fn new_order(&self, order: &NewOrder<'_>) -> Result<Order, Error> {
let rsp = self
.inner
.post(Some(order), None, &self.inner.client.urls.new_order)