ex0dus-0x / microkv

Minimal and persistent key-value store designed with security in mind
MIT License
32 stars 6 forks source link

unused type parameter for `exists` #6

Closed ggutoski closed 3 years ago

ggutoski commented 3 years ago

https://github.com/ex0dus-0x/microkv/blob/610cdee922a7634f1bbc8382ea38246c8ee33d7d/src/kv.rs#L307-L314

Seems that the type parameter K is not actually used in exists. The compiler cannot infer the type for K, so I must add an explicit type annotation in order to call exists.

ex0dus-0x commented 3 years ago

Updated, thanks!