Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
dev: remove the unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Aug 20, 2023
1 parent 6cb1c69 commit 516f660
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/actor/typst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ impl TypstActor {
}
for (path, content) in files.files.iter() {
let path = Path::new(path).to_owned();
let id = self.compiler_driver.id_for_path(path.clone());
// todo: is it safe to believe that the path is normalized?
let Ok(_) = self.compiler_driver.world.map_shadow(&path, content) else {
error!("TypstActor: failed to resolve file: {}", path.display());
Expand Down

0 comments on commit 516f660

Please sign in to comment.