Add spans to all commands
This commit is contained in:
parent
e0b6c839e2
commit
b430f1594f
6 changed files with 23 additions and 21 deletions
|
|
@ -331,8 +331,8 @@ impl File {
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
for i in 0..commands.len() {
|
||||
let curr = commands[i];
|
||||
let next = commands.get(i + 1).copied();
|
||||
let curr = &commands[i].value;
|
||||
let next = commands.get(i + 1).map(|c| &c.value);
|
||||
|
||||
result.push_str(&format!("{}", curr));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue