Skip to content

Commit 4f6afa1

Browse files
committed
Update for PHF changes
1 parent 75a938a commit 4f6afa1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::io;
55
use std::fmt;
66

77
use openssl::ssl::error;
8-
use phf::PhfMap;
8+
use phf;
99

1010
use PostgresResult;
1111
use types::PostgresType;
@@ -20,7 +20,7 @@ macro_rules! make_errors(
2020
UnknownSqlState(String)
2121
}
2222

23-
static STATE_MAP: PhfMap<&'static str, PostgresSqlState> = phf_map!(
23+
static STATE_MAP: phf::Map<&'static str, PostgresSqlState> = phf_map!(
2424
$($code => $error),+
2525
);
2626

0 commit comments

Comments
 (0)