aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-core/src/repository/installed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-core/src/repository/installed.rs')
-rw-r--r--crates/mozart-core/src/repository/installed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mozart-core/src/repository/installed.rs b/crates/mozart-core/src/repository/installed.rs
index 544e948..422f79f 100644
--- a/crates/mozart-core/src/repository/installed.rs
+++ b/crates/mozart-core/src/repository/installed.rs
@@ -111,7 +111,7 @@ impl InstalledPackages {
/// Parse an installed.json document. See [`Self::read`] for the accepted shapes.
pub fn from_json_str(content: &str) -> anyhow::Result<InstalledPackages> {
- use anyhow::{Context, anyhow};
+ use anyhow::{Context as _, anyhow};
let value: serde_json::Value =
serde_json::from_str(content).context("invalid installed.json")?;