Feat: cleanup
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Stack-based Forth interpreter with audio command generation.
|
||||
|
||||
use parking_lot::Mutex;
|
||||
use rand::rngs::StdRng;
|
||||
use rand::{Rng as RngTrait, SeedableRng};
|
||||
@@ -29,12 +31,10 @@ impl Forth {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn stack(&self) -> Vec<Value> {
|
||||
self.stack.lock().clone()
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn clear_stack(&self) {
|
||||
self.stack.lock().clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user