Skip to content

src/guessing_game.rs appears out of nowhere in the guide #16162

Closed

Description

@EduardoBautista

In chapter 5, in the compile error for the code let x;, it shows the source file as being src/guessing_game.rs although it has never been mentioned before in the guide.

Later in the chapter it says:

Let's try it out. Change your src/guessing_game.rs file to look like this:

At that point of the guide, there have not been any instructions to create a file by that name.

Activity

  1. steveklabnik commented on Aug 1, 2014

    @steveklabnik
    Contributor

    Ahhh yes. This is a typo that came when I re-organized the guessing game to be its own section later, rather than trying to build it along with the tutorial.

    This should probably just be the hello world file instead.

  2. EduardoBautista commented on Aug 1, 2014

    @EduardoBautista
    ContributorAuthor

    OK, was just making sure. Let me know if you want me to make the change if you're too busy.

  3. steveklabnik commented on Aug 1, 2014

    @steveklabnik
    Contributor

    If you have the time, please do!

  4. added a commit that references this issue on Aug 2, 2014
  5. EduardoBautista commented on Aug 5, 2014

    @EduardoBautista
    ContributorAuthor

    Change has been merged, safe to close I assume.

  6. added 2 commits that reference this issue on Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions