Skip to content

Commit 834d7c1

Browse files
committed
Move privacy trait down to others
1 parent 60eaaad commit 834d7c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,6 @@ struct CachedStatement {
432432
columns: Vec<Column>,
433433
}
434434

435-
trait SessionInfoNew<'a> {
436-
fn new(conn: &'a InnerConnection) -> SessionInfo<'a>;
437-
}
438-
439435
struct InnerConnection {
440436
stream: BufStream<Box<StreamWrapper>>,
441437
notice_handler: Box<HandleNotice>,
@@ -1785,3 +1781,7 @@ trait LazyRowsNew<'trans, 'stmt> {
17851781
finished: bool,
17861782
trans: &'trans Transaction<'trans>) -> LazyRows<'trans, 'stmt>;
17871783
}
1784+
1785+
trait SessionInfoNew<'a> {
1786+
fn new(conn: &'a InnerConnection) -> SessionInfo<'a>;
1787+
}

0 commit comments

Comments
 (0)