Commit 490f98f
authored
fix: restore #[allow(dead_code)] on is_bot helper (#2074)
The `#[allow(dead_code)]` annotation on `is_bot()` in `helpers.rs` was
accidentally removed by commit dd179ba when cleaning up stale dead_code
attributes. The function is only used by test code in `permissions.rs`,
so it still needs the suppression.
**Change**: Add `#[allow(dead_code)]` back to `is_bot()` (1 line).
**Tests**: 57/57 pass, WASM build verified.1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| 859 | + | |
859 | 860 | | |
860 | 861 | | |
861 | 862 | | |
| |||
0 commit comments