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
mem::align_of currently requires that T: Sized. This bound is unnecessary, and prevents align_of from being used in generic code that operates on unsized types. mem::align_of_val is available, but only works when an instance of T is present to be passed.
I propose that we make align_of specify where T: ?Sized.