Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rust/de] [rust/en] [rust/es] [rust/fr] [rust/cn] Fix comment in Rust docs: box -> mine #2365

Merged
merged 1 commit into from Sep 27, 2016

Conversation

Rob--W
Copy link
Contributor

@Rob--W Rob--W commented Sep 11, 2016

  • PR touches only one file (or a set of logically related files with similar changes made)
  • Content changes are aimed at intermediate to experienced programmers (this is a poor format for explaining fundamental programming concepts)
  • YAML Frontmatter formatted according to CONTRIBUTING.md
    • Seriously, look at it now. Watch for quotes and double-check field names.

The "box" is referring to the Box variable a few lines back, but that is
called "mine", not "box".
@@ -285,7 +285,7 @@ fn main() {
    var = 3;
    let ref_var: &i32 = &var;

    println!("{}", var); // Contrairement `box`, `var` peut encore être utilisé
    println!("{}", var); // Contrairement `mien`, `var` peut encore être utilisé
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is not a typo, that is the name of the variable at line 267.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh. i really did a bad job of proofreading that one :-(.

@vendethiel vendethiel merged commit 970aff0 into adambard:master Sep 27, 2016
@vendethiel
Copy link
Collaborator

Thanks.

23Pstars pushed a commit to 23Pstars/learnxinyminutes-docs that referenced this pull request Feb 11, 2017
The "box" is referring to the Box variable a few lines back, but that is
called "mine", not "box".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants