Skip to content

Commit

Permalink
Merge pull request #1338 from nicholasbishop/bishop-copy-template
Browse files Browse the repository at this point in the history
uefi: Inline the template example into lib.rs doc
  • Loading branch information
phip1611 committed Aug 21, 2024
2 parents fad2ede + a7332fb commit 1cb0e6e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion uefi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@
//! `uefi` crate:
//!
//! ```ignore
#![doc = include_str!("../../template/src/main.rs")]
//! #![no_main]
//! #![no_std]
//!
//! use uefi::prelude::*;
//!
//! #[entry]
//! fn main(_handle: Handle, system_table: SystemTable<Boot>) -> Status {
//! uefi::helpers::init().unwrap();
//!
//! Status::SUCCESS
//! }
//! ```
//!
//! Please find more info in our [Rust UEFI Book].
Expand Down

0 comments on commit 1cb0e6e

Please sign in to comment.