mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
Follow-up to #10585. The census rule now: - treats a labeled `for` (`'inner: for _ in 0..0`) like an unlabeled one when deciding whether its body runs; - reads hex, octal and binary range bounds (`0x0..0x1`) and borrowed or parenthesized array literals (`&[1]`, `(&[1])`) as loop sources; - does not count a path call (`other::run()`) as a call to a local closure; - counts an async closure's future as run by `block_on` only when it is the whole argument of `block_on` itself, not of `discard_block_on` or of a longer expression, and allows a space before the parenthesis; - finds the `let` keyword without splitting a name such as `inlet_fn`; - accepts a trailing comma after a closure stored in `Some(…)`.