diff options
author | bors <bors@rust-lang.org> | 2022-12-28 06:56:02 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-28 06:56:02 +0000 |
commit | 9b889e53e78a186a861a8407c225f9d8e0d436f5 (patch) | |
tree | 1e34d012373b8c56c7c2b1142a4ce44c9e7b87de /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 6a4624d73b34153811f7642b89bd396306aa7843 (diff) | |
parent | d2eb2bb8548e97e29abfeab1825c006c5ba02efc (diff) | |
download | rust-9b889e53e78a186a861a8407c225f9d8e0d436f5.tar.gz |
Auto merge of #103881 - ChayimFriedman2:patch-2, r=compiler-errors
Clarify docs of `RefCell`
Comparison operators only panic if the `RefCell` is mutably borrowed, and `RefCell::swap()` can also panic if swapping a `RefCell` with itself.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions