From 4f6afa127a4e30d239fe1cb8dae3cdda291f8286 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 1 Nov 2014 14:43:31 -0700 Subject: [PATCH] Update for PHF changes --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index d0ee4ebb..429739ee 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,7 +5,7 @@ use std::io; use std::fmt; use openssl::ssl::error; -use phf::PhfMap; +use phf; use PostgresResult; use types::PostgresType; @@ -20,7 +20,7 @@ macro_rules! make_errors( UnknownSqlState(String) } - static STATE_MAP: PhfMap<&'static str, PostgresSqlState> = phf_map!( + static STATE_MAP: phf::Map<&'static str, PostgresSqlState> = phf_map!( $($code => $error),+ );