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
I don't really think there's a sensible "default" here. I think TimeFormatter is fine. I also think adding the bound may work, though it would be nice if DateTimeFormatter could format_time too.
Currently if you want a time formatter you need to explicitly set the calendar type to
NeverCalendar
/()
.This raises the general question, should they have default generics?
The time formatter specific concern can also be addressed by
pub type TimeFormatter
format_time
imply this bound@Manishearth @robertbastian
The text was updated successfully, but these errors were encountered: