Skip to content

Conversation

callahad
Copy link
Contributor

@callahad callahad commented Apr 4, 2015

Fixes #24030

Of the four code samples with modules in TRPL:

- 2 use `mod test`
- 2 use `mod tests`

We should be consistent here, but which is right? The stdlib is split:

$ grep -r 'mod tests {' src/lib* | wc -l
      63
$ grep -r 'mod test {'  src/lib* | wc -l
      58

Subjectively, I like the plural. Maybe you, dear reviewer, do too?

r? @steveklabnik

Fixes rust-lang#24030

Of the four code samples with modules in TRPL:

    - 2 use `mod test`
    - 2 use `mod tests`

We should be consistent here, but which is right? The stdlib is split:

    $ grep -r 'mod tests {' src/lib* | wc -l
          63
    $ grep -r 'mod test {'  src/lib* | wc -l
          58

Subjectively, I like the plural. Maybe you, dear reviewer, do too?
@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

@callahad
Copy link
Contributor Author

callahad commented Apr 4, 2015

This is the plural (mod tests) option. For the mod test option, see #24042

@steveklabnik
Copy link
Contributor

doing singular for now

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.

The "testing" section of the rust book needs a small correction
3 participants