summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2022-11-02 15:38:15 +0200
committerGitHub <noreply@github.com>2022-11-02 15:38:15 +0200
commitd2eb2bb8548e97e29abfeab1825c006c5ba02efc (patch)
treec7e455f72087c5b8366b417bdcebf9f08137860a /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent822f8c22f540b12f296d844ad5bf39aaa47bfeb4 (diff)
downloadrust-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