slog icon indicating copy to clipboard operation
slog copied to clipboard

Change slog::Never to a typedef of std::convert::Infallible

Open kennytm opened this issue 5 years ago • 1 comments

Infallible was introduced in Rust 1.34.0 as a stable substitute of !. Since Never was also created as a stable replacement of !, I think we should just make Never alias Infallible.

https://github.com/slog-rs/slog/blob/1bf30b1c57ab51d2533c74983141bc17c1dc00a5/src/lib.rs#L3431-L3435

kennytm avatar May 09 '19 05:05 kennytm

Fine with me.

dpc avatar May 09 '19 16:05 dpc