[17.5] useless closing bracket (after figure 17-6)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 18.3k
- Forks
- 4.1k
- Avg merge
- 14m
- Merged PRs (30d)
- 1
Description
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- 17
- I have checked the latest
mainbranch to see if this has already been fixed, in this file:
URL to the section(s) of the book with this problem:
https://github.com/rust-lang/book/blob/main/src/ch17-05-traits-for-async.md
https://doc.rust-lang.org/book/ch17-05-traits-for-async.html#the-pin-and-unpin-traits
Description of the problem:
Useless closing bracket.
As an independent exercise, look at the docs for the types as well as the std::pin module and try to work out how you’d do this with a Pin wrapping a Box.)
Suggested fix:
Remove the closing bracket right after Figure 17-6
As an independent exercise, look at the docs for the types as well as the std::pin module and try to work out how you’d do this with a Pin wrapping a Box.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/ch17-05-traits-for-async.md and read the section around Figure 17-6 and the Pin and Unpin traits. Remove the closing bracket after Figure 17-6, then check the rendered section to confirm the exercise text ends without the extra bracket.
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
- 55/100