fix db type

This commit is contained in:
Tom Dohrmann 2020-01-29 21:05:22 +01:00 committed by Ryan Leckey
parent e166f062be
commit d3cb84b893

View File

@ -121,8 +121,8 @@ where
let mut encoded = Vec::new();
let mut encoded_orig = Vec::new();
Encode::<sqlx::MySql>::encode(example, &mut encoded);
Encode::<sqlx::MySql>::encode(name, &mut encoded_orig);
Encode::<DB>::encode(example, &mut encoded);
Encode::<DB>::encode(*name, &mut encoded_orig);
assert_eq!(encoded, encoded_orig);
}