Replace lazy_static!
with OnceLock
in ai
crate (#8647)
This PR replaces a `lazy_static!` usage in the `ai` crate with `OnceLock` from the standard library. This allows us to drop the `lazy_static` dependency from this crate. Release Notes: - N/A
This commit is contained in:
parent
eb1ab69606
commit
0d0ce95eae
4 changed files with 7 additions and 9 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -84,7 +84,6 @@ dependencies = [
|
|||
"gpui",
|
||||
"isahc",
|
||||
"language",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"matrixmultiply",
|
||||
"ordered-float 2.10.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue