Fix build

This commit is contained in:
Steven Fackler 2019-03-04 22:22:51 -08:00
parent 0de50abc29
commit 269197f743

View File

@ -1,5 +1,5 @@
use std::time::Duration; use std::time::Duration;
use tokio_postgres::{Config, TargetSessionAttrs}; use tokio_postgres::config::{Config, TargetSessionAttrs};
fn check(s: &str, config: &Config) { fn check(s: &str, config: &Config) {
assert_eq!(s.parse::<Config>().expect(s), *config, "`{}`", s); assert_eq!(s.parse::<Config>().expect(s), *config, "`{}`", s);