rust-osdev / bootloader

An experimental pure-Rust x86 bootloader
Apache License 2.0
1.39k stars 212 forks source link

Add a `take` method to `Optional` #411

Closed phil-opp closed 10 months ago

phil-opp commented 10 months ago

This makes it easier to take ownership of optional values inside the &'static mut BootInfo.