Update docs for unsafe_op_in_unsafe_fn stability.

This commit is contained in:
Eric Huss 2021-04-14 08:23:47 -07:00
parent d408fdd4a8
commit e67f4439fe
1 changed files with 4 additions and 3 deletions

View File

@ -2522,9 +2522,10 @@ declare_lint! {
/// ///
/// The fix to this is to wrap the unsafe code in an `unsafe` block. /// The fix to this is to wrap the unsafe code in an `unsafe` block.
/// ///
/// This lint is "allow" by default because it has not yet been /// This lint is "allow" by default since this will affect a large amount
/// stabilized, and is not yet complete. See [RFC #2585] and [issue /// of existing code, and the exact plan for increasing the severity is
/// #71668] for more details /// still being considered. See [RFC #2585] and [issue #71668] for more
/// details.
/// ///
/// [`unsafe fn`]: https://doc.rust-lang.org/reference/unsafe-functions.html /// [`unsafe fn`]: https://doc.rust-lang.org/reference/unsafe-functions.html
/// [`unsafe` block]: https://doc.rust-lang.org/reference/expressions/block-expr.html#unsafe-blocks /// [`unsafe` block]: https://doc.rust-lang.org/reference/expressions/block-expr.html#unsafe-blocks