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:
Marshall Bowers 2024-02-29 23:37:20 -05:00 committed by GitHub
parent eb1ab69606
commit 0d0ce95eae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 9 deletions

1
Cargo.lock generated
View file

@ -84,7 +84,6 @@ dependencies = [
"gpui",
"isahc",
"language",
"lazy_static",
"log",
"matrixmultiply",
"ordered-float 2.10.0",