We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e61f7f commit 77cfee0Copy full SHA for 77cfee0
postgres/src/client.rs
@@ -407,8 +407,8 @@ impl Client {
407
///
408
/// # Warning
409
410
- /// Prepared statements should be use for any query which contains user-specified data, as they provided the
411
- /// 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
412
/// them to this method!
413
pub fn simple_query(&mut self, query: &str) -> Result<Vec<SimpleQueryMessage>, Error> {
414
self.connection.block_on(self.client.simple_query(query))
0 commit comments