Skip to content

Commit bd2d6aa

Browse files
authored
Merge pull request #678 from nicholasbishop/bishop-fixup-macros-test
uefi-macros: Make `entry` example more compatible with stable
2 parents 78d57ad + bec1f83 commit bd2d6aa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

uefi-macros/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -221,17 +221,7 @@ fn get_function_arg_name(f: &ItemFn, arg_index: usize, errors: &mut TokenStream2
221221
///
222222
/// ```no_run
223223
/// #![no_main]
224-
/// #![no_std]
225224
/// #![feature(abi_efiapi)]
226-
/// # // A bit of boilerplate needed to make the example compile in the
227-
/// # // context of `cargo test`.
228-
/// # #![feature(lang_items)]
229-
/// # #[lang = "eh_personality"]
230-
/// # fn eh_personality() {}
231-
/// # #[panic_handler]
232-
/// # fn panic_handler(info: &core::panic::PanicInfo) -> ! {
233-
/// # loop {}
234-
/// # }
235225
///
236226
/// use uefi::prelude::*;
237227
///

0 commit comments

Comments
 (0)