fix crash when using RustAppBuilder

This commit is contained in:
Daniella / Tove 2023-08-04 20:54:16 +02:00
parent b4c8593d41
commit 7f4f502067
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "spl"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "Stack Pogramming Language: A simple, concise scripting language."
license = "MIT"

View file

@ -61,8 +61,10 @@ impl Hash for RustAppBuilder {
impl RustAppBuilder {
pub fn new() -> RustAppBuilder {
Self {
rust_functions: Vec::new(),
to_embed: HashMap::new(),
default_file: "repl.spl".to_owned(),
..Default::default()
name: None,
}
}