roadmap PROPOSED

The standalone crates spell out unit symbols in their comments, if the rule covers prose

Raised by lane/maintainer-follow-ups, at the maintainer's request: milestone 1053 (a sweep spells out the unit symbols in names) covered the crates in this tree, and nobody scanned partsfoundry/e1000e or partsfoundry/designware_mobile_storage.

Name: provisional. The lane mints no name.

Reuse: helpers/vendored_name_gates.py unit --list and unit --unclear, run with a clone of each repository as the working directory.

What the scan found

The lane cloned both repositories read-only at their default branch and scanned them with that milestone's rules: the template's [units] table, Rust identifiers only, and it skips comments and strings.

So no name in either repository needs a rename. What both hold is unit symbols in comments and documentation, the way the sources they cite spell them (ms, us, MHz, kHz, KiB, GiB, GB):

One more is a source name the project quotes, not a symbol it chose: phy->reset_delay_us, a FreeBSD field that sequence.rs cites.

The decision this needs

design/naming.md says a name that holds a quantity ends with its unit, spelled out. It says nothing about prose. Spelling out ms in a comment would be a new rule, and an architect makes it. If the rule leaves prose alone, this proposal is moot and the scan result above is the record. If the rule reaches prose, the work is:

  1. Spell the units out in those 42 lines of comments, with one pull request to each repository, and keep a source's own spelling inside a quotation.
  2. Have the template's check count the same symbols in comments, so the two repositories and every later crate stay at zero.

Index row

That milestone's sweep did not scan the two standalone driver repositories. A scan found no unit symbol in any identifier, and 42 comment lines that use one, which change only if an architect rules that the unit rule covers prose.