rust-apache-age icon indicating copy to clipboard operation
rust-apache-age copied to clipboard

feat: don't require `&mut self` for the async client

Open ctron opened this issue 9 months ago • 0 comments

The underlying client can work with &self and concurrent requests. Having if &mut self, will cause an issue when creating a transaction, as the transaction will borrow the client, and so it no longer is possible to mut-borrow the client.

Switching this to a simple &self fixes that issue.

Closes: #11

ctron avatar May 06 '24 09:05 ctron