commit | 5076263a947b20a21473abf1edf932426426180b | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Mon Jan 22 18:52:47 2024 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Mon Jan 22 18:55:57 2024 +0100 |
tree | 50b46405007aaacb0d945b5716f5da7b622cd8ab | |
parent | 85850bc7f2073becddebdd6b2f3c35ef44cf2bae [diff] |
Don't use lazy_static to create Mutex Since rust 1.63 Mutex::new is const. The underlying data type is wrapped with Option so we can drop the need to lazy static init the mutex. Test: m libnfc_rnci Change-Id: I4fa74574d06522403f7e55eee6d97f1b25822b00