Skip to content

Commit ec6e242

Browse files
committed
Fix for phf changes
1 parent 3a0f189 commit ec6e242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ macro_rules! make_errors(
3232
impl SqlState {
3333
#[doc(hidden)]
3434
pub fn from_code(s: &str) -> SqlState {
35-
match STATE_MAP.get_equiv(s) {
35+
match STATE_MAP.get(s) {
3636
Some(state) => state.clone(),
3737
None => SqlState::Unknown(s.into_string())
3838
}

0 commit comments

Comments
 (0)