remove setinner

This commit is contained in:
Jonathan Kelley committed 2024-01-24 12:24:47 -08:00
1 parent 1a9079b28b
commit 1eb989a544
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ impl EffectInner {
callback: Box::new(callback),
id: copy.id(),
};
copy.set_inner(inner);
copy.set(inner);
copy
}
}
-5
View File
@@ -146,11 +146,6 @@ impl<T: 'static, S: Storage<T>> CopyValue<T, S> {
pub fn id(&self) -> GenerationalBoxId {
self.value.id()
}
/// Set the inner value directory without going `Write`
pub fn set_inner(&self, value: T) {
self.value.set(value);
}
}
impl<T: 'static, S: Storage<T>> Readable<T> for CopyValue<T, S> {