1
0
Fork 0
forked from wry/wry

config: store font names in Arc

This commit is contained in:
Julian Orth 2024-09-28 16:20:20 +02:00
parent ca134e683b
commit d9eb14e2bc
6 changed files with 21 additions and 14 deletions

View file

@ -9,6 +9,7 @@ use {
fmt::{Debug, Formatter},
mem,
rc::{Rc, Weak},
sync::Arc,
},
};
@ -83,6 +84,7 @@ unsafe impl<T: UnsafeCellCloneSafe> UnsafeCellCloneSafe for Option<T> {}
unsafe impl<T: ?Sized> UnsafeCellCloneSafe for Rc<T> {}
unsafe impl<T: ?Sized> UnsafeCellCloneSafe for Weak<T> {}
unsafe impl<T: ?Sized> UnsafeCellCloneSafe for Arc<T> {}
unsafe impl<T> UnsafeCellCloneSafe for NodeRef<T> {}