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

View File

@ -2522,9 +2522,10 @@
///
/// 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
/// stabilized, and is not yet complete. See [RFC #2585] and [issue
/// #71668] for more details
/// This lint is "allow" by default since this will affect a large amount
/// of existing code, and the exact plan for increasing the severity is
/// still being considered. See [RFC #2585] and [issue #71668] for more
/// details.
///
/// [`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