Skip to content

Commit

Permalink
chore: Upgrade codespan dependencies (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Jun 13, 2023
1 parent bd8379e commit 7950ee5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ noir_wasm = { path = "crates/wasm" }

cfg-if = "1.0.0"
clap = { version = "4.1.4", features = ["derive"] }
codespan = "0.9.5"
codespan-reporting = "0.9.5"
codespan = "0.11.1"
codespan-reporting = "0.11.1"
chumsky = { git = "https://github.com/jfecher/chumsky", rev = "ad9d312" }
dirs = "4"
serde = { version = "1.0.136", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/fm/src/file_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl FileMap {
FileId(file_id)
}
pub fn get_file(&self, file_id: FileId) -> Option<File> {
self.0.get(file_id.0).map(File)
self.0.get(file_id.0).map(File).ok()
}
}

Expand Down

0 comments on commit 7950ee5

Please sign in to comment.