Skip to content

Commit dfc614b

Browse files
committed
Doc fixes
1 parent 5b04594 commit dfc614b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tokio-postgres/src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ use crate::proto::ConnectRawFuture;
2222
use crate::{Connect, MakeTlsMode, Socket};
2323
use crate::{ConnectRaw, Error, TlsMode};
2424

25-
/// Properties required of a database.
25+
/// Properties required of a session.
2626
#[cfg(feature = "runtime")]
2727
#[derive(Debug, Copy, Clone, PartialEq)]
2828
pub enum TargetSessionAttrs {
29-
/// No special permissions are required.
29+
/// No special properties are required.
3030
Any,
31-
/// The database must be writable.
31+
/// The session must allow writes.
3232
ReadWrite,
3333
#[doc(hidden)]
3434
__NonExhaustive,
@@ -128,7 +128,7 @@ pub(crate) struct Inner {
128128
/// ```
129129
///
130130
/// ```not_rust
131-
/// postgresql://user@host1:1234,host2host3:5678?target_session_attrs=read-write
131+
/// postgresql://user@host1:1234,host2,host3:5678?target_session_attrs=read-write
132132
/// ```
133133
///
134134
/// ```not_rust

0 commit comments

Comments
 (0)