Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit fc1a974

Browse files
committed
Remove now-dead methods on StoreContextMut
Once needed, now no longer, so remove these.
1 parent 4007f49 commit fc1a974

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

crates/wasmtime/src/runtime/store/context.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,6 @@ pub struct StoreContext<'a, T: 'static>(pub(crate) &'a StoreInner<T>);
1818
#[repr(transparent)]
1919
pub struct StoreContextMut<'a, T: 'static>(pub(crate) &'a mut StoreInner<T>);
2020

21-
impl<'a, T> StoreContextMut<'a, T> {
22-
#[doc(hidden)]
23-
pub fn traitobj(&self) -> core::ptr::NonNull<dyn crate::runtime::vm::VMStore> {
24-
self.0.traitobj()
25-
}
26-
27-
#[doc(hidden)]
28-
pub fn inner(&mut self) -> &mut StoreInner<T> {
29-
self.0
30-
}
31-
32-
#[doc(hidden)]
33-
pub fn new(inner: &'a mut StoreInner<T>) -> Self {
34-
Self(inner)
35-
}
36-
}
37-
3821
/// A trait used to get shared access to a [`Store`] in Wasmtime.
3922
///
4023
/// This trait is used as a bound on the first argument of many methods within

0 commit comments

Comments
 (0)