diff --git a/crates/next-api/src/versioned_content_map.rs b/crates/next-api/src/versioned_content_map.rs index 1435bca40b594..0ce495de773b3 100644 --- a/crates/next-api/src/versioned_content_map.rs +++ b/crates/next-api/src/versioned_content_map.rs @@ -155,7 +155,7 @@ impl VersionedContentMap { self: Vc, path: Vc, ) -> Result> { - Ok(Vc::cell(match (*self.get_asset(path).await?) { + Ok(Vc::cell(match *self.get_asset(path).await? { Some(asset) => Some(asset.versioned_content().to_resolved().await?), None => None, }))