ihrwein / enum-display-derive

Derive Display for simple enums automagically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crate is incompatible with custon Results

Yuri6037 opened this issue · comments

In code that uses custom Result types this crate creates a conflict and cannot be used: instead of returning a Result this crate should consider returning a "std::result::Result".

Example: in user code we might see use std::io::Result which will break this crate.

@Yuri6037 Thanks for raising this issue. Could you try https://crates.io/crates/enum-display-derive/0.1.1 and let me know whether it fixes your issue?

I can confirm that version 0.1.1 fixes the problem.

Great, thank you.