Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 91082644 authored by Andrew Walbran's avatar Andrew Walbran
Browse files

Use OnceLock rather than Once.

This avoids the need for a mutable static, and most of the unsafety.

Bug: 290018030
Test: m rust
Change-Id: Ib9a1af0c74f1620db340ee4abdbfb5e6ad9752a7
parent 4ed9d777
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment