Commit 428942c
committed
style(Common): Normalize lint allowances and formatting across core modules
Reorganize `#![allow(...)]` attributes in `Source/Library.rs` to include `dead_code` and unused warnings alongside naming exceptions, removing the blanket suppression in `build.rs`. In `Source/Telemetry/mod.rs`, introduce consistent spacing between module declarations for readability. Remove an isolated `#[allow(dead_code)]` in `Source/Transport/Registry/mod.rs` to expose the unused field, and add a blank line in `Source/Transport/TransportStrategy.rs` to align with project formatting standards. Update `package.json` to bump `@cloudflare/workers-types` to version 4.20260523.1.
This consolidates lint configuration at the crate root, enforces consistent whitespace in module definitions, and brings the dependency version up to date without altering runtime behavior.1 parent cfde990 commit 428942c
6 files changed
Lines changed: 21 additions & 5 deletions
File tree
- Source
- Telemetry
- Transport
- Registry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
| 36 | + | |
33 | 37 | | |
| 38 | + | |
34 | 39 | | |
| 40 | + | |
35 | 41 | | |
| 42 | + | |
36 | 43 | | |
| 44 | + | |
37 | 45 | | |
| 46 | + | |
38 | 47 | | |
| 48 | + | |
39 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments