fixing the parsing signature
No need for function to take a vector, instead it'll just generate one from the value itself and then that'll be appended to the list of slides
This commit is contained in:
parent
53ba0385f5
commit
30e6ce40b5
2 changed files with 3 additions and 6 deletions
|
@ -155,9 +155,7 @@ impl cosmic::Application for App {
|
|||
match lisp {
|
||||
Value::List(vec) => {
|
||||
for value in vec {
|
||||
let inner_vector = vec![];
|
||||
let mut inner_vector =
|
||||
parse_lisp(value, inner_vector);
|
||||
let mut inner_vector = parse_lisp(value);
|
||||
slide_vector.append(&mut inner_vector);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue