diff --git a/processor/src/host/mod.rs b/processor/src/host/mod.rs index 60571caf38..d1bf11e0c5 100644 --- a/processor/src/host/mod.rs +++ b/processor/src/host/mod.rs @@ -192,6 +192,7 @@ impl From for Felt { // DEFAULT HOST IMPLEMENTATION // ================================================================================================ +/// TODO: add comments pub struct DefaultHost { adv_provider: A, } @@ -218,6 +219,10 @@ impl DefaultHost { pub fn advice_provider_mut(&mut self) -> &mut A { &mut self.adv_provider } + + pub fn into_inner(self) -> A { + self.adv_provider + } } impl Host for DefaultHost {