Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UefiHidDxeV2: Remove mutable static shared reference
Use `addr_of!()` (raw pointer) to prevent a reference being created to the mutable static variable. ``` = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior ``` Signed-off-by: Michael Kubacki <[email protected]>
- Loading branch information