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
to_rfc2822 panics if I provide a MAX_UTC or MIN_UTC date/time. Maybe the date/time could be saturated to what RFC2822 can express? Return a Result? Add an _opt equivalent and deprecate the panicking one? Also, maybe provide MIN_RFC2822_UTC and MAX_RFC2822_UTC type constants?
cause = "writing rfc2822 datetime to string should never fail: Error"
method = "Panic"
The text was updated successfully, but these errors were encountered:
to_rfc2822
panics if I provide aMAX_UTC
orMIN_UTC
date/time. Maybe the date/time could be saturated to what RFC2822 can express? Return aResult
? Add an_opt
equivalent and deprecate the panicking one? Also, maybe provideMIN_RFC2822_UTC
andMAX_RFC2822_UTC
type constants?The text was updated successfully, but these errors were encountered: