rust-lang / rust-lang/std-dev-guide

Minor typo spotted

Open
#65 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
90
Forks
47
Avg merge
9h 22m
Merged PRs (30d)
1

Description

On chapter 3, in New trait impls, there seems to be a typo regarding a type.
The Inference breaks when a second generic impl is introduced example uses an Arc as an example, however, in the very end of the example, we have

will no longer compile, because we've previously been relying on inference to figure out the T in Box<T>.

but Box isn't mentioned anywhere.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked chapter 3 section, New trait impls, and inspect the “Inference breaks when a second generic impl is introduced” example and its concluding explanation. Update the wording so the type named in the explanation matches the example, then verify the rendered guide text reads consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.