Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
remove mut
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Oct 27, 2022
1 parent a6b32aa commit 488c81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Client {
///
/// Note that the requests need to have valid IDs, so it is advised to create the requests
/// with [`Client::build_request`].
pub fn send_batch(&mut self, requests: &[Request]) -> Result<Vec<Option<Response>>, Error> {
pub fn send_batch(&self, requests: &[Request]) -> Result<Vec<Option<Response>>, Error> {
if requests.is_empty() {
return Err(Error::EmptyBatch);
}
Expand Down

0 comments on commit 488c81a

Please sign in to comment.