remove setinner
This commit is contained in:
2 files changed
+1
-6
No files matched your search
@@ -98,7 +98,7 @@ impl EffectInner {
|
||||
callback: Box::new(callback),
|
||||
id: copy.id(),
|
||||
};
|
||||
copy.set_inner(inner);
|
||||
copy.set(inner);
|
||||
copy
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user