Skip to content

Commit 7da21e1

Browse files
authored
Merge pull request #737 from gjlondon/gjlondon-doc-fix
Fix minor docstring typo
2 parents 2e61f7f + 77cfee0 commit 7da21e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ impl Client {
407407
///
408408
/// # Warning
409409
///
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
410+
/// Prepared statements should be used for any query which contains user-specified data, as they provided the
411+
/// functionality to safely embed that data in the request. Do not form statements via string concatenation and pass
412412
/// them to this method!
413413
pub fn simple_query(&mut self, query: &str) -> Result<Vec<SimpleQueryMessage>, Error> {
414414
self.connection.block_on(self.client.simple_query(query))

0 commit comments

Comments
 (0)