chapter 4.1 Return Values and Scope inacurate comments
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:
- s2
- s3
- chapter 4
- chapter 4.1
-
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/listings/ch04-understanding-ownership/listing-04-04/src/main.rs
Description of the problem:
s3 doesn't go out of scop
Suggested fix:
just correct the sentence
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 listings/ch04-understanding-ownership/listing-04-04/src/main.rs and read the chapter 4.1 text around the explanation of s3's scope. Correct the inaccurate sentence about s3 going out of scope, then verify that the wording accurately matches the example.
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
- Mostly clear
- Newbie friendliness
- 55/100