Repository navigation
Spec errata (#2966, #3040, #3021; #2955 items 11, 13): stale examples and one changelog line - #3055
Merged
Merged
Conversation
… and one changelog line
Docs-only (spec-inventory-check green; no battery). Blessed by Eric 2026-11-06.
- README v7.24 (D95): the tuple/array/Option/Result trait list drops `Hash`,
retired the same day by D96 (v7.25); the line says so.
- §1.7: the short-circuit comprehension example is the bracket form D185 kept,
not the retired `for ...: yield` expression.
- §3.8: `let count = counts.get("api").unwrap()` is an `i32` under D144, so the
view example is written with its `&i32` annotation and the independent copy
loses its redundant one.
- §22.3: the diagnostic example reads as the compiler writes it ("take an
independent Copy value with `let count: i32 = ...`"), with a note that the
view exists only because it was annotated `&i32`.
- §14.10: `recv()` yields `Option[T]`, so the select examples bind the Option
(`msg.unwrap()` one-shot; `let Some(m) = msg else break` in a loop, the
section's own later idiom). A select arm takes a binding name today; a
refutable arm pattern has no semantics in the spec, so none is written.
Checked and left as written: §18.5b.1's `nr` is `i64` in the implementation
and D114 wants a fixed width for a count a stream does not bound; one-liner
`args` do come after `--` (`with -e '...' -- a b`; `with run tool.w a b` is the
script path). §14.9's `::` and §14.6's `Ok(a + b)`/`String` were already fixed.
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs-only;
spec-inventory-checkgreen; no battery per the docs-only rule. Blessed by Eric 2026-11-06. See the commit message for each site and for the items checked and left as written (§18.5b.1nrisi64by D114; one-linerargsfollow--; §14.9::and §14.6Ok(a + b)were already fixed). Items of #2955 that need a ruling (Duration literal #2957, comprehension families #2961,dropnaming #2962, iterablezip#2963, the tuple-await ceiling #2964, the two-parameter borrow hole #2965, script globals #2951, #2522) stay on their issues.