mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
Add missing crate link
This commit is contained in:
1 parent
171617d00a
commit
cbf9ec087e
1 file changed
+1
@@ -13,6 +13,7 @@ type Inner<T> = OnceBox<T>;
|
||||
/// Lazy static helper that uses [`LazyLock`] with `std` and [`OnceBox`] otherwise.
|
||||
///
|
||||
/// [`LazyLock`]: https://doc.rust-lang.org/stable/std/sync/struct.LazyLock.html
|
||||
/// [`OnceBox`]: https://docs.rs/once_cell/latest/once_cell/race/struct.OnceBox.html
|
||||
pub struct RacyLock<T: 'static> {
|
||||
inner: Inner<T>,
|
||||
#[cfg(no_std)]
|
||||
|
||||
Reference in new issue
Block a user