Skip to content

Commit ef0b79f

Browse files
committed
docs fix
1 parent e5e03b0 commit ef0b79f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokio-postgres/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ impl Client {
383383
///
384384
/// Statements should be separated by semicolons. If an error occurs, execution of the sequence will stop at that
385385
/// point. The simple query protocol returns the values in rows as strings rather than in their binary encodings,
386-
/// so the associated row type doesn't work with the `FromSql` trait. Rather than simply returning a stream over the
387-
/// rows, this method returns a stream over an enum which indicates either the completion of one of the commands,
386+
/// so the associated row type doesn't work with the `FromSql` trait. Rather than simply returning a list of the
387+
/// rows, this method returns a list of an enum which indicates either the completion of one of the commands,
388388
/// or a row of data. This preserves the framing between the separate statements in the request.
389389
///
390390
/// # Warning

0 commit comments

Comments
 (0)