From 8b6bfefbf23ecd7b19d28d78519f5adc9460fd5b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 12 Nov 2024 07:13:00 +0000 Subject: [PATCH] docs(net): fix gramar --- src/net/system.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/system.rs b/src/net/system.rs index 995223c..6c31bda 100644 --- a/src/net/system.rs +++ b/src/net/system.rs @@ -315,7 +315,7 @@ impl<'net> OnRequest<'net> { /// /// The response will have an empty HTTP Body. /// - /// Each request and response can only be matched once each. + /// Each request and response pair can only be matched once each. pub fn respond(self, response: impl Into) -> Result<()> { match self { OnRequest::Valid { @@ -329,7 +329,7 @@ impl<'net> OnRequest<'net> { /// Constructs the response to be returned when a request matched the criteria. /// - /// Each request and response can only be matched once each. + /// Each request and response pair can only be matched once each. pub fn respond_with_body( self, body_result: std::result::Result, http::Error>,