Add --derive-for-type to cli (#708)

* Add `--derive-for-type` to cli

* Remove clippy warnings
This commit is contained in:
Francisco Miguel García
2022-11-23 16:25:32 +01:00
committed by GitHub
parent 702e87e58d
commit a80d6cfd30
6 changed files with 41 additions and 21 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("\nExample 1. Obtained keys:");
while let Some((key, value)) = iter.next().await? {
println!("Key: 0x{}", hex::encode(&key));
println!("Key: 0x{}", hex::encode(key));
println!(" Value: {}", value);
}
}