Skip to content

Commit 77cfee0

Browse files
committed
Fix minor docstring typo
1 parent 2e61f7f commit 77cfee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/src/client.rs

+2-2
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)