We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4213c3 commit 9bb968fCopy full SHA for 9bb968f
src/chunker.rs
@@ -20,7 +20,6 @@ struct ChunkStats {
20
altstack_output_size: usize,
21
}
22
23
-//TODO: Refactor the undoing with this struct
24
pub struct UndoInfo {
25
call_stack: Vec<Box<StructuredScript>>,
26
size: usize,
@@ -260,9 +259,7 @@ impl Chunker {
260
259
match block {
261
Block::Call(id) => {
262
let sub_builder = builder.script_map.get(id).unwrap();
263
- self.call_stack.push(Box::new(sub_builder.clone())); //TODO: Avoid cloning here by
264
- //putting Box<Builder> into
265
- //the script_map
+ self.call_stack.push(Box::new(sub_builder.clone()));
266
contains_call = true;
267
268
Block::Script(script_buf) => {
0 commit comments