Fix the ffi_unwind_calls lint documentation

This commit is contained in:
Eric Huss 2023-02-28 18:22:05 -08:00
parent c6cba68c16
commit 15450b1b21

View file

@ -3967,14 +3967,9 @@ declare_lint! {
///
/// ### Example
///
/// ```rust,ignore (need FFI)
/// #![feature(ffi_unwind_calls)]
/// ```rust
/// #![feature(c_unwind)]
///
/// # mod impl {
/// # #[no_mangle]
/// # pub fn "C-unwind" fn foo() {}
/// # }
/// #![warn(ffi_unwind_calls)]
///
/// extern "C-unwind" {
/// fn foo();