From 77cfee0da1fff2d90c61e3033b962057ccd2ba3b Mon Sep 17 00:00:00 2001 From: George London Date: Fri, 5 Feb 2021 19:49:36 -0800 Subject: [PATCH] Fix minor docstring typo --- postgres/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres/src/client.rs b/postgres/src/client.rs index c052836f..0ff2376e 100644 --- a/postgres/src/client.rs +++ b/postgres/src/client.rs @@ -407,8 +407,8 @@ impl Client { /// /// # Warning /// - /// Prepared statements should be use for any query which contains user-specified data, as they provided the - /// functionality to safely imbed that data in the request. Do not form statements via string concatenation and pass + /// Prepared statements should be used for any query which contains user-specified data, as they provided the + /// functionality to safely embed that data in the request. Do not form statements via string concatenation and pass /// them to this method! pub fn simple_query(&mut self, query: &str) -> Result, Error> { self.connection.block_on(self.client.simple_query(query))