From 437091916fb554bfb9ca86600d312efab15a718d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 16 Jan 2023 09:30:53 +0100 Subject: [PATCH] Fix name typo --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 96bfcc2..271b9b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -810,7 +810,7 @@ where // Safety: We cannot test this with loom efficiently, but given that `with_response_mut` is tested, // this is likely correct #[cfg(not(loom))] - pub fn response(&mut self) -> Result<&mut A, Error> { + pub fn response_mut(&mut self) -> Result<&mut A, Error> { if self.transition(State::Requested, State::BuildingResponse) || self.transition(State::BuildingResponse, State::BuildingResponse) {