mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
`trait_info_of` already returns `None` for unsized types, so allowing `T: ?Sized` is sound and lets callers in generic contexts use these functions without a separate `Sized` bound. For unsized `T`, the function always returns `None`.