]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #60850 - SimonSapin:unguarded, r=alexcrichton
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 30 May 2019 08:52:51 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 08:52:51 +0000 (10:52 +0200)
commit74b359373c262506d88fa546c595551c7a4e4277
treecf8a02f5284694ca6f2239390fdb960f93d9d5df
parent933c773b612e9f6cd0c729952a5d2b8b48020a48
parent9fd4d48b5e12494926041bb1a053d5891e661bc4
Rollup merge of #60850 - SimonSapin:unguarded, r=alexcrichton

Stabilize RefCell::try_borrow_unguarded

Servo has been using this since https://github.com/servo/servo/pull/23196 to add a runtime check to some unsafe code, as discussed in PR https://github.com/rust-lang/rust/pull/59211. Stabilizing would help do more of the same in libraries that also have users on Stable.
src/libcore/cell.rs