Commit e92adeb
Fix clippy warnings and formatting issues
- Replace manual Default impls with #[derive(Default)] and #[default] on enum variants
- Rename ambiguous `from_str` methods to `parse` to avoid confusion with FromStr trait
- Prefix unused struct fields with underscore (audit, auth, tenancy)
- Add #[allow(dead_code)] to internal diagnostic methods in rate_limiting
- Add #[allow(clippy::field_reassign_with_default)] where struct mutation is necessary
- Remove useless format! macro in observability
- Fix effective_level to use longest prefix match (most specific)
All 457 tests pass, clippy reports no warnings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9d6aea2 commit e92adeb
16 files changed
Lines changed: 453 additions & 336 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
| |||
723 | 727 | | |
724 | 728 | | |
725 | 729 | | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
| 743 | + | |
749 | 744 | | |
750 | 745 | | |
751 | 746 | | |
| |||
814 | 809 | | |
815 | 810 | | |
816 | 811 | | |
817 | | - | |
818 | | - | |
| 812 | + | |
819 | 813 | | |
820 | 814 | | |
821 | 815 | | |
| |||
837 | 831 | | |
838 | 832 | | |
839 | 833 | | |
840 | | - | |
841 | | - | |
| 834 | + | |
842 | 835 | | |
843 | 836 | | |
844 | 837 | | |
| |||
854 | 847 | | |
855 | 848 | | |
856 | 849 | | |
857 | | - | |
858 | | - | |
| 850 | + | |
859 | 851 | | |
860 | | - | |
861 | | - | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
862 | 858 | | |
863 | 859 | | |
864 | 860 | | |
| |||
876 | 872 | | |
877 | 873 | | |
878 | 874 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
883 | 880 | | |
884 | 881 | | |
885 | 882 | | |
| |||
889 | 886 | | |
890 | 887 | | |
891 | 888 | | |
892 | | - | |
893 | | - | |
| 889 | + | |
894 | 890 | | |
895 | 891 | | |
896 | 892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
949 | | - | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
950 | 955 | | |
951 | 956 | | |
952 | 957 | | |
| |||
996 | 1001 | | |
997 | 1002 | | |
998 | 1003 | | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
1003 | 1009 | | |
1004 | 1010 | | |
1005 | 1011 | | |
1006 | 1012 | | |
1007 | 1013 | | |
1008 | 1014 | | |
1009 | | - | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
1010 | 1019 | | |
1011 | 1020 | | |
1012 | 1021 | | |
| |||
1075 | 1084 | | |
1076 | 1085 | | |
1077 | 1086 | | |
1078 | | - | |
| 1087 | + | |
1079 | 1088 | | |
1080 | 1089 | | |
1081 | 1090 | | |
| |||
1084 | 1093 | | |
1085 | 1094 | | |
1086 | 1095 | | |
1087 | | - | |
| 1096 | + | |
1088 | 1097 | | |
1089 | 1098 | | |
1090 | 1099 | | |
| |||
0 commit comments