Skip to content

Commit 04cdedf

Browse files
ref(sourcemaps): Fix clippy lint
Fix clippy lint which was initially discovered (and ignored) in #2269.
1 parent 4853445 commit 04cdedf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/commands/sourcemaps/explain.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,13 @@ fn fetch_release_artifact_file_metadata(
228228
release,
229229
&artifact.id,
230230
)?;
231-
#[expect(clippy::manual_inspect)]
232231
file_metadata
233232
.ok_or_else(|| format_err!("Could not retrieve file metadata: {}", &artifact.id))
234-
.map(|f| {
233+
.inspect(|_| {
235234
success(format!(
236235
"Successfully fetched {} file metadata from the server.",
237236
artifact.name
238-
));
239-
f
237+
))
240238
})
241239
}
242240

0 commit comments

Comments
 (0)