mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
ecf527faaf
`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`.