-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
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
support kv_unstable #294
support kv_unstable #294
Conversation
I'm aware of the #137, but that one is really outdated and I decided to write simpler solution |
Print the kev and values from a record if `kv_unstable` feature enabled
visited: bool, | ||
} | ||
|
||
impl<'kvs> kv::Visitor<'kvs> for KVVisitor { |
Check failure
Code scanning / clippy
implicit elided lifetime not allowed here Error
visited: bool, | ||
} | ||
|
||
impl<'kvs> kv::Visitor<'kvs> for KVVisitor { |
Check failure
Code scanning / clippy
implicit elided lifetime not allowed here Error
fmt: self, | ||
visited: false, | ||
}; | ||
record.key_values().visit(&mut visitor)?; |
Check failure
Code scanning / clippy
? couldn't convert the error to std::io::Error Error
fmt: self, | ||
visited: false, | ||
}; | ||
record.key_values().visit(&mut visitor)?; |
Check failure
Code scanning / clippy
? couldn't convert the error to std::io::Error Error
This is actually pretty similar to what I originally had in #137. But due to some other comments I added support for putting the key/value pairs on multiple lines, and putting it at the end instead of the beginning. |
Print the kev and values from a record if
kv_unstable
feature enabled