Bring back mroe hooks, remove old hooks, cleanup a number of examples

This commit is contained in:
Jonathan Kelley committed 2024-01-15 17:04:39 -08:00
1 parent b291a5c0b0
commit 74aa55f85f
33 files changed
+179 -643

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ impl<T: 'static> CopyValue<T> {
}
/// Set the value. If the value has been dropped, this will panic.
pub fn set(&mut self, value: T) {
pub fn set(&self, value: T) {
*self.write() = value;
}