You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the trait `core::fmt::String` is not implemented for the type `leveldb::database::error::Error` [E0277]
src/main.rs:45 Err(e) => { panic!("failed to open database: {}", e) }
I believe error is just missing a #[derive(Display)] in order for it to be printed to the console, am I correct?
The text was updated successfully, but these errors were encountered:
Eh, yes :), somewhat. Use "{:?}" as an output marker. That uses fmt::Debug instead, which all the types implement. I do agree that errors should probably implement Display as well, I'll file this as a sep bug.
running the example code I'm getting a
I believe error is just missing a #[derive(Display)] in order for it to be printed to the console, am I correct?
The text was updated successfully, but these errors were encountered: