diff options
| author | carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> | 2020-09-09 12:11:44 -0500 |
|---|---|---|
| committer | carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> | 2020-09-09 12:14:18 -0500 |
| commit | 493c037699603388a00010d96339d84e84e361c6 (patch) | |
| tree | 24afdf0c8086ce4e8f28c44c8117ce066b991e46 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b4bdc07ff5a70175dbcdff7331c557245ddb012f (diff) | |
| download | rust-493c037699603388a00010d96339d84e84e361c6.tar.gz rust-493c037699603388a00010d96339d84e84e361c6.zip | |
Eliminate mut reference UB in Drop impl for Rc<T>
This changes `self.ptr.as_mut()` with `get_mut_unchecked` which does not use an intermediate reference. Arc<T> already handled this case properly.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
