mirror of https://git.meli.delivery/meli/meli
Replace erroneous use of set_err_kind with set_kind
set_err_kind() is a method of the IntoError trait, not an Error method; it is meant to be used for any error type that can be converted into Error. Since melib::Error implements Into<melib::Error> tautologically, this was not a compilation error. Nevertheless, the correct thing to do is use the type method directly to set ErrorKind. Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/354/head
parent
c332c2f5ff
commit
873a67d0fb
Loading…
Reference in New Issue