mirror of
https://github.com/rm-dr/daisy
synced 2025-07-05 01:59:30 -07:00
Minor cleanup
This commit is contained in:
@ -61,7 +61,7 @@ impl Config {
|
||||
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone)]
|
||||
//#[derive(Clone)]
|
||||
pub struct Context {
|
||||
pub config: Config,
|
||||
|
||||
@ -76,12 +76,12 @@ pub struct Context {
|
||||
// General functions
|
||||
impl Context {
|
||||
pub fn new() -> Context {
|
||||
Context{
|
||||
Context {
|
||||
config: Config::new(),
|
||||
history: Vec::new(),
|
||||
variables: HashMap::new(),
|
||||
functions: HashMap::new(),
|
||||
shadow: HashMap::new(),
|
||||
shadow: HashMap::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user