From dfc614bed1ce88b5a978f1ffcd7dfe5a39c19b10 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 8 Jan 2019 13:45:54 -0800 Subject: [PATCH] Doc fixes --- tokio-postgres/src/config.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tokio-postgres/src/config.rs b/tokio-postgres/src/config.rs index 002dea7c..f290e5f7 100644 --- a/tokio-postgres/src/config.rs +++ b/tokio-postgres/src/config.rs @@ -22,13 +22,13 @@ use crate::proto::ConnectRawFuture; use crate::{Connect, MakeTlsMode, Socket}; use crate::{ConnectRaw, Error, TlsMode}; -/// Properties required of a database. +/// Properties required of a session. #[cfg(feature = "runtime")] #[derive(Debug, Copy, Clone, PartialEq)] pub enum TargetSessionAttrs { - /// No special permissions are required. + /// No special properties are required. Any, - /// The database must be writable. + /// The session must allow writes. ReadWrite, #[doc(hidden)] __NonExhaustive, @@ -128,7 +128,7 @@ pub(crate) struct Inner { /// ``` /// /// ```not_rust -/// postgresql://user@host1:1234,host2host3:5678?target_session_attrs=read-write +/// postgresql://user@host1:1234,host2,host3:5678?target_session_attrs=read-write /// ``` /// /// ```not_rust