diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-28 19:15:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-28 19:15:29 +0800 |
| commit | c599463cd165d7ec01ba37c6979d1e7109cf9d3a (patch) | |
| tree | 664e18a2c2c35f68026b85407bef1482d2a080e7 /src/test/incremental/thinlto | |
| parent | 85d7d0bf561c278123e288bffbe4b3baf843742b (diff) | |
| parent | f8ebb3f09fa98cf5583f6bd8d5677a1f4dd0941d (diff) | |
| download | rust-c599463cd165d7ec01ba37c6979d1e7109cf9d3a.tar.gz rust-c599463cd165d7ec01ba37c6979d1e7109cf9d3a.zip | |
Rollup merge of #48365 - Centril:docs/document-refcell-panics, r=frewsxcv
RefCell: document panics in Clone, PartialEq, PartialOrd, Ord.
This fixes #47400 by adding:
```rust
/// # Panics
///
/// Panics if the value is currently mutably borrowed.
```
to said impls. They may panic since they call `.borrow()`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
