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
Hi,
love your library, however there is a tiny bug :)
This code does not compile:
let ulid = matchUlid::from_string(&file_ulid){Ok(ulid) => ulid,Err(e) => {println!("Unable to parse ULID: {}", e);return}};
error[E0277]: the trait bound `ulid::EncodingError: std::fmt::Display` is not satisfied
--> src/show.rs:97:50
|
97 | println!("Unable to parse ULID: {}", e);
| ^ `ulid::EncodingError` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
|
= help: the trait `std::fmt::Display` is not implemented for `ulid::EncodingError`
= note: required by `std::fmt::Display::fmt`
It works when formatting it with {:?}, but all other std errors support fmt::Display trait.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. It has been fixed and a new version has been published. If find any more issues or wish something was different don't hesitate to make another issue.
Hi,
love your library, however there is a tiny bug :)
This code does not compile:
It works when formatting it with {:?}, but all other
std
errors supportfmt::Display
trait.The text was updated successfully, but these errors were encountered: