v0.4.37
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult
was renamed to MappedLocalTime
to avoid the impression that it is a Result
type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*
. With 0.4.37 we make the new name MappedLocalTime
the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.