Skip to content

Commit de97f79

Browse files
committed
Move Slice into types
1 parent d41b25c commit de97f79

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub enum ConnectError {
206206
UnsupportedAuthentication,
207207
/// The Postgres server does not support SSL encryption.
208208
NoSslSupport,
209-
/// There was an error initializing the SSL session
209+
/// There was an error initializing the SSL session.
210210
SslError(Box<error::Error+Sync+Send>),
211211
/// There was an error communicating with the server.
212212
IoError(io::Error),

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ use error::{Error, ConnectError, SqlState, DbError};
8080
pub use types::{ToSql, FromSql};
8181
use io::{StreamWrapper, NegotiateSsl};
8282
use types::{IsNull, Kind, Type, SessionInfo, Oid, Other};
83-
#[doc(inline)]
84-
pub use types::Slice;
8583
use message::BackendMessage::*;
8684
use message::FrontendMessage::*;
8785
use message::{FrontendMessage, BackendMessage, RowDescriptionEntry};

src/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//! Traits dealing with Postgres data types
2-
pub use self::slice::Slice;
32
43
use std::collections::HashMap;
54
use std::error;
65
use std::fmt;
76
use std::io::prelude::*;
87
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
98

9+
pub use self::slice::Slice;
1010
use {Result, SessionInfoNew, InnerConnection, OtherNew};
1111
use error::Error;
1212
use util;

0 commit comments

Comments
 (0)