diff options
| author | David Tolnay <dtolnay@gmail.com> | 2017-09-21 21:52:59 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2017-09-21 21:53:04 -0700 |
| commit | f9d92d219d266c3161367cc694743e9c0e6d55c7 (patch) | |
| tree | 3107941ae2fa191845c08bf1eebf6c84e5a03bd4 /src/rustllvm/RustWrapper.cpp | |
| parent | 17600c1ea77ad8709ea072ad1b258bf9398b9d38 (diff) | |
| download | rust-f9d92d219d266c3161367cc694743e9c0e6d55c7.tar.gz rust-f9d92d219d266c3161367cc694743e9c0e6d55c7.zip | |
Less confusing placeholder when RefCell is exclusively borrowed
Based on ExpHP's comment in
https://users.rust-lang.org/t/refcell-borrow-mut-get-strange-result/12994
> it would perhaps be nicer if it didn't put something that could be
> misinterpreted as a valid string value
The previous Debug implementation would show:
RefCell { value: "<borrowed>" }
The new one is:
RefCell { value: <borrowed> }
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
