We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use case:
let mut lru = LruCache::<String, String>::new(16); let _ = lru.get("foo");
The compiler complains: the trait bound KeyRef<std::string::String>: Borrow<str> is not satisfied.
KeyRef<std::string::String>: Borrow<str>
I'm using lru = "0.6"
lru = "0.6"
The text was updated successfully, but these errors were encountered:
Hi @pourplusquoi! Can you try version 0.7 (I just published it)? It includes the changes in #115 that I think should address your issue.
Sorry, something went wrong.
Hi @jeromefroe, thanks for your reply! It works on version 0.7
No branches or pull requests
Use case:
The compiler complains: the trait bound
KeyRef<std::string::String>: Borrow<str>
is not satisfied.I'm using
lru = "0.6"
The text was updated successfully, but these errors were encountered: