diff --git a/error.rs b/error.rs index b92c1cff..1c601a21 100644 --- a/error.rs +++ b/error.rs @@ -21,7 +21,7 @@ macro_rules! make_errors( impl FromStr for PostgresSqlState { fn from_str(s: &str) -> Option { - Some(match STATE_MAP.find_str(&s) { + Some(match STATE_MAP.find(&s) { Some(state) => state.clone(), None => UnknownSqlState(s.to_owned()) }) diff --git a/submodules/rust-phf b/submodules/rust-phf index 8ca39071..49638edc 160000 --- a/submodules/rust-phf +++ b/submodules/rust-phf @@ -1 +1 @@ -Subproject commit 8ca39071036b1437b88fd625c9f46847312049b1 +Subproject commit 49638edccab25149d542dc4c376815ab5f8a0dee diff --git a/submodules/submodule-trigger b/submodules/submodule-trigger index 61a5ef70..a1e43559 100644 --- a/submodules/submodule-trigger +++ b/submodules/submodule-trigger @@ -1 +1 @@ -Sat Jan 18 14:56:33 PST 2014 +Sat Jan 18 15:21:39 PST 2014