diff options
author | Chayim Refael Friedman <chayimfr@gmail.com> | 2022-11-02 15:38:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 15:38:15 +0200 |
commit | d2eb2bb8548e97e29abfeab1825c006c5ba02efc (patch) | |
tree | c7e455f72087c5b8366b417bdcebf9f08137860a /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 822f8c22f540b12f296d844ad5bf39aaa47bfeb4 (diff) | |
download | rust-d2eb2bb8548e97e29abfeab1825c006c5ba02efc.tar.gz |
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