mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Update yazi-shared/src/sync_cell.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c3977fe625
commit
1cc5903ce8
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||||
|
|
||||||
/// [`Cell`], but [`Sync`].
|
/// [`Cell`], but [`Sync`].
|
||||||
///
|
///
|
||||||
/// This is just an `Cell`, except it implements `Sync`
|
/// This is just a `Cell`, except it implements `Sync`
|
||||||
/// if `T` implements `Sync`.
|
/// if `T` implements `Sync`.
|
||||||
pub struct SyncCell<T: ?Sized>(Cell<T>);
|
pub struct SyncCell<T: ?Sized>(Cell<T>);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue