#[complexity]
Expand description
Indicate algorithm complexity or cognitive complexity issues.
Accepts a string literal describing the complexity,
like #[complexity("O(n²)")]
or #[complexity("high: many nested conditions")]
.
This attribute does not modify the item it annotates.