Ensure correct trait is used in function definitions

This commit is contained in:
Tobie Morgan Hitchcock 2022-05-21 01:17:46 +01:00
parent a78df680d2
commit 64ddd407ca

View file

@ -185,7 +185,7 @@ impl Transaction {
pub async fn set<K, V>(&mut self, key: K, val: V) -> Result<(), Error>
where
K: Into<Key>,
V: Into<Key>,
V: Into<Val>,
{
match self {
#[cfg(feature = "kv-echodb")]
@ -210,7 +210,7 @@ impl Transaction {
pub async fn put<K, V>(&mut self, key: K, val: V) -> Result<(), Error>
where
K: Into<Key>,
V: Into<Key>,
V: Into<Val>,
{
match self {
#[cfg(feature = "kv-echodb")]