about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-17 07:16:55 +0900
committerGitHub <noreply@github.com>2022-06-17 07:16:55 +0900
commitcf68fd7e8d3cf3d075208d9a09aa509eeb87b4ee (patch)
treeb2f4d8c43d9e36d3128b6ef4d6ee17fdd915a0c6 /src/librustdoc/html/static/js/source-script.js
parent5cd8679dd2cdc31aec038a44e6c60f5e36db4808 (diff)
parent24b1b7c8a8dbd4af9556fb3748f6d37d5755d39a (diff)
downloadrust-cf68fd7e8d3cf3d075208d9a09aa509eeb87b4ee.tar.gz
rust-cf68fd7e8d3cf3d075208d9a09aa509eeb87b4ee.zip
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
Make `std::mem::needs_drop` accept `?Sized`

This change attempts to make `needs_drop` work with types like `[u8]` and `str`.

This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions