diff options
Diffstat (limited to 'tests/architecture.rs')
| -rw-r--r-- | tests/architecture.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/architecture.rs b/tests/architecture.rs index 919728c..e957f53 100644 --- a/tests/architecture.rs +++ b/tests/architecture.rs @@ -59,8 +59,9 @@ const RANKS: &[(&str, u8, &str)] = &[ /// `pub use … ::*` a module is still allowed to keep, as `module -> count`. /// This is the allowlist, and the ratchet is what empties it: a glob re-export /// flattens a namespace so a reader cannot see a module's width from its -/// exports, which is the whole point of the budgets. -const GLOB_ALLOWLIST: &[(&str, usize)] = &[("db", 2), ("http", 2)]; +/// exports, which is the whole point of the budgets. `db` used to need two; it +/// now names every export, so the slot is closed rather than left at zero. +const GLOB_ALLOWLIST: &[(&str, usize)] = &[("http", 2)]; const DECL_KEYWORDS: [&str; 7] = ["fn", "struct", "enum", "trait", "const", "static", "type"]; |
