Skip to content

clippy: manual_inspect#2496

Merged
yihau merged 1 commit intoanza-xyz:masterfrom
yihau:map-inspect
Aug 9, 2024
Merged

clippy: manual_inspect#2496
yihau merged 1 commit intoanza-xyz:masterfrom
yihau:map-inspect

Conversation

@yihau
Copy link
Copy Markdown
Member

@yihau yihau commented Aug 8, 2024

(part of #2487 )

Problem

Screenshot 2024-08-08 at 22 27 54

https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect

Summary of Changes

  • replace map with inspect when possible
  • replace map_err with inspect_err when possible

@yihau yihau marked this pull request as ready for review August 8, 2024 16:36
@yihau yihau requested review from brooksprumo and steviez August 8, 2024 16:37
Copy link
Copy Markdown

@steviez steviez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yihau yihau merged commit 4ac1300 into anza-xyz:master Aug 9, 2024
@yihau yihau deleted the map-inspect branch August 9, 2024 07:10
@yihau yihau mentioned this pull request Aug 11, 2024
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants