mirror of
https://github.com/awslabs/iam-policy-autopilot.git
synced 2026-04-25 16:05:58 +03:00
[PR #144] [MERGED] chore: auto fix more clippy warnings #262
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/iam-policy-autopilot#262
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/awslabs/iam-policy-autopilot/pull/144
Author: @adpaco-aws
Created: 2/6/2026
Status: ✅ Merged
Merged: 2/10/2026
Merged by: @adpaco-aws
Base:
main← Head:remove-lints-2📝 Commits (10+)
dd35768chore: fix clippy lint manual_assert317937echore: fix clippy lint must_use_candidate5291604chore: fix clippy lint needless_raw_string_hashes14461e1chore: fix clippy lint option_as_ref_cloneddfd32fdchore: fix clippy lint redundant_closure_for_method_callsa7648e0chore: fix clippy lint semicolon_if_nothing_returnedee59f4fchore: fix clippy lint single_match_else549fa04chore: fix clippy lint struct_excessive_bools7d4fa57chore: fix clippy lint unnecessary_semicolon09dc3bachore: fix clippy lint use_self📊 Changes
42 files changed (+170 additions, -166 deletions)
View changed files
📝
Cargo.toml(+0 -12)📝
iam-policy-autopilot-access-denied/src/aws/policy_naming.rs(+3 -1)📝
iam-policy-autopilot-access-denied/src/aws/principal.rs(+1 -0)📝
iam-policy-autopilot-access-denied/src/aws/sts.rs(+1 -1)📝
iam-policy-autopilot-access-denied/src/error.rs(+1 -0)📝
iam-policy-autopilot-access-denied/src/parsing/catalog.rs(+1 -0)📝
iam-policy-autopilot-access-denied/src/parsing/utils.rs(+1 -0)📝
iam-policy-autopilot-access-denied/src/synthesis/policy_builder.rs(+2 -0)📝
iam-policy-autopilot-access-denied/src/types.rs(+3 -2)📝
iam-policy-autopilot-cli/src/main.rs(+1 -1)📝
iam-policy-autopilot-cli/src/types.rs(+4 -4)📝
iam-policy-autopilot-mcp-server/src/lib.rs(+5 -5)📝
iam-policy-autopilot-mcp-server/src/mcp.rs(+1 -1)📝
iam-policy-autopilot-mcp-server/src/tools/fix_access_denied.rs(+1 -1)📝
iam-policy-autopilot-mcp-server/src/tools/generate_policy.rs(+5 -1)📝
iam-policy-autopilot-policy-generation/build.rs(+17 -19)📝
iam-policy-autopilot-policy-generation/src/api/common.rs(+4 -1)📝
iam-policy-autopilot-policy-generation/src/embedded_data.rs(+1 -1)📝
iam-policy-autopilot-policy-generation/src/enrichment/mod.rs(+4 -6)📝
iam-policy-autopilot-policy-generation/src/enrichment/operation_fas_map.rs(+2 -2)...and 22 more files
📄 Description
Issue #, if available: Towards #136
Description of changes: Used the
--fixfeature fromclippyto automatically fix some warnings. I did it through a script that would only commit the fixes for aclippylint if it successfully resolved all issues automatically.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.